diff --git a/uhr.js b/uhr.js index c98a2d0..e0f11fd 100644 --- a/uhr.js +++ b/uhr.js @@ -92,7 +92,7 @@ Uhr.prototype.clear = function() { this.renderarea.find('.item').removeClass('active'); } Uhr.prototype.highlight = function(itemClass) { - this.renderarea.find('.item.' + itemClass).addClass('active'); + this.renderarea.parent().find('.item.' + itemClass).addClass('active'); } Uhr.prototype.getHour = function(date) { if (typeof this.currentLayout.getHour === 'function') {