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();
}
});
-