verschiedene bugfixes und auf index.html umgestellt

This commit is contained in:
Manuel Friedli 2013-11-26 12:48:15 +01:00
parent d69c6ecfab
commit 8ca4777a7c
3 changed files with 19 additions and 19 deletions

View file

@ -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();
}
});
</script>
</body>
</html>