Merge branch 'bugfix/dot-clear' of /var/lib/git/repositories/manuel/uhr into develop

This commit is contained in:
Manuel Friedli 2013-11-26 19:12:24 +01:00
commit 70c55db699

2
uhr.js
View file

@ -89,7 +89,7 @@ Uhr.prototype.update = function() {
} }
} }
Uhr.prototype.clear = function() { Uhr.prototype.clear = function() {
this.renderarea.find('.item').removeClass('active'); this.renderarea.parent().find('.item').removeClass('active');
} }
Uhr.prototype.highlight = function(itemClass) { Uhr.prototype.highlight = function(itemClass) {
this.renderarea.parent().find('.item.' + itemClass).addClass('active'); this.renderarea.parent().find('.item.' + itemClass).addClass('active');