bugfix: initial display mode

This commit is contained in:
Manuel Friedli 2014-10-18 17:11:24 +02:00
parent 9f37f1f971
commit 92abc8e15b

View file

@ -237,7 +237,7 @@
var mode = $.cookie('uhr-mode' + this.id); var mode = $.cookie('uhr-mode' + this.id);
if (mode === undefined || this.options.force) { if (mode === undefined || this.options.force) {
status = this.options.mode; mode = this.options.mode;
} }
modeSwitch.prop('checked', mode !== 'seconds'); modeSwitch.prop('checked', mode !== 'seconds');
if (mode === 'seconds') { if (mode === 'seconds') {