uhr.js noch weiter verschlankt

This commit is contained in:
Manuel Friedli 2013-11-30 19:24:35 +01:00
parent 27ba54624b
commit 40aa13811a

2
uhr.js
View file

@ -225,7 +225,7 @@ Uhr.prototype.initLayoutSwitch = function(defaultValue, overrideCookie) {
if (selectedLayout == undefined || (overrideCookie && (defaultValue != undefined))) { if (selectedLayout == undefined || (overrideCookie && (defaultValue != undefined))) {
selectedLayout = defaultValue; selectedLayout = defaultValue;
} }
if (selectedLayout == undefined || selectedLayout == 'undefined') { if (selectedLayout == undefined) {
// FIXME not nice, hardcoded default-value // FIXME not nice, hardcoded default-value
selectedLayout = 'de_CH'; selectedLayout = 'de_CH';
} }