update geflickt

This commit is contained in:
Manuel Friedli 2013-12-01 00:30:41 +01:00
parent ce4ccfbfa0
commit 4308943177
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
CACHE MANIFEST
# 3.0.4
# 3.0.5
COPYING
index.html

6
uhr.js
View file

@ -78,11 +78,11 @@ Uhr.prototype.setTheme = function(theme) {
Uhr.prototype.update = function() {
if (this.isOn()) {
var now = new Date();
var dotMinute = this.getDotMinute(now);
if (dotMinute == this.currentMinute) {
if (now.getMinutes() == this.currentMinute) {
return;
}
this.currentMinute = dotMinute;
this.currentMinute = now.getMinutes();
var dotMinute = this.getDotMinute(now);
var hour = this.getHour(now);
var coarseMinute = this.getCoarseMinute(now);
this.clear();