From a51f83ec65eb9c67c78e5ecbd3607ec3bba22644 Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Tue, 26 Nov 2013 19:09:47 +0100 Subject: [PATCH] clear() geflickt --- uhr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uhr.js b/uhr.js index e0f11fd..f5fa0ef 100644 --- a/uhr.js +++ b/uhr.js @@ -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');