From 8ca4777a7c94c4a2f3600b2fe5bd6d82ab364233 Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Tue, 26 Nov 2013 12:48:15 +0100 Subject: [PATCH] verschiedene bugfixes und auf index.html umgestellt --- index-test.html | 8 ++------ index.html | 29 ++++++++++++++++------------- uhr-object.js | 1 + 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/index-test.html b/index-test.html index 041ac48..436890c 100644 --- a/index-test.html +++ b/index-test.html @@ -73,22 +73,18 @@ uhr.setTheme(theme); $('#layoutswitcher').val(layout); uhr.setLayout(layout); - if (status == 'on') { - uhr.start(); if(!isOn()) { - uhr.stop(); $('#onoffswitch').click(); } + uhr.start(); } else { - uhr.stop(); if(isOn()) { - uhr.start(); $('#onoffswitch').click(); } + uhr.stop(); } }); - diff --git a/index.html b/index.html index ebbee8b..0313b1c 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,7 @@ Die Zeit als Wort - in HTML, CSS und JS + @@ -35,7 +36,7 @@
- +

Created by fritteli, inspired by QLOCKTWO. diff --git a/uhr-object.js b/uhr-object.js index bccb01b..36e5378 100644 --- a/uhr-object.js +++ b/uhr-object.js @@ -136,6 +136,7 @@ UhrRenderer.prototype.render = function(uhr) { renderer.renderarea.append('
'); } } + uhr.currentMinute = -1; uhr.update(); renderer.renderarea.fadeIn('fast'); });