Merge branch 'bugfix/dots' of /var/lib/git/repositories/manuel/uhr into develop

This commit is contained in:
Manuel Friedli 2013-11-26 15:29:03 +01:00
commit 09f74441f2

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') {