diff --git a/index.html b/index.html
index b4cb091..a23c2a4 100644
--- a/index.html
+++ b/index.html
@@ -32,11 +32,6 @@ along with this program. If not, see .
-
Created by fritteli, inspired by QLOCKTWO.
@@ -47,34 +42,12 @@ along with this program. If not, see .
$('#themeswitcher').on('change', function() {
uhr.setTheme(this.value);
});
- $('#layoutswitcher').on('change', function() {
- uhr.setLayout(this.value);
- });
- $.cookie.defaults.expires = 365;
- $.cookie.defaults.path = '/';
var theme = $.cookie('theme');
- var layout = $.cookie('layout');
- var status = $.cookie('status');
if (theme === undefined || theme == 'undefined') {
theme = 'black';
}
- if(layout === undefined || layout == 'undefined') {
- layout = 'de_CH';
- }
- if (status === undefined || status == 'undefined') {
- status = 'on';
- }
$('#themeswitcher').val(theme);
uhr.setTheme(theme);
- $('#layoutswitcher').val(layout);
- uhr.setLayout(layout);
- if (status == 'on') {
- uhr.start();
- $('#onoffswitch').prop('checked', true);
- } else {
- uhr.stop();
- $('#onoffswitch').prop('checked', false);
- }
});