From 92abc8e15b957cad789fc9db026ac08188c49b51 Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Sat, 18 Oct 2014 17:11:24 +0200 Subject: [PATCH] bugfix: initial display mode --- js/uhr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/uhr.js b/js/uhr.js index a503d60..6fb6e40 100644 --- a/js/uhr.js +++ b/js/uhr.js @@ -237,7 +237,7 @@ var mode = $.cookie('uhr-mode' + this.id); if (mode === undefined || this.options.force) { - status = this.options.mode; + mode = this.options.mode; } modeSwitch.prop('checked', mode !== 'seconds'); if (mode === 'seconds') {