clear() geflickt

This commit is contained in:
Manuel Friedli 2013-11-26 19:09:47 +01:00
parent d014295ef7
commit a51f83ec65

2
uhr.js
View file

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