punktanzeige geflickt

This commit is contained in:
Manuel Friedli 2013-11-26 15:27:57 +01:00
parent 18e0762688
commit d5ba90b4d6

2
uhr.js
View file

@ -92,7 +92,7 @@ Uhr.prototype.clear = function() {
this.renderarea.find('.item').removeClass('active'); this.renderarea.find('.item').removeClass('active');
} }
Uhr.prototype.highlight = function(itemClass) { 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) { Uhr.prototype.getHour = function(date) {
if (typeof this.currentLayout.getHour === 'function') { if (typeof this.currentLayout.getHour === 'function') {