set layout korrekt

This commit is contained in:
Manuel Friedli 2013-11-27 17:48:41 +01:00
parent 714e86a53c
commit 562855e8f1

3
uhr.js
View file

@ -30,9 +30,8 @@ function Uhr(clockarea, themeElement) {
this.themeElement = themeElement; this.themeElement = themeElement;
this.timer = null; this.timer = null;
this.currentTheme = null; this.currentTheme = null;
this.currentLayout = null; this.currentLayout = Uhr.layouts['undefined'];
this.currentMinute = -1; this.currentMinute = -1;
this.setLayout('undefined');
} }
Uhr.layouts = new Array(); Uhr.layouts = new Array();
Uhr.register = function (locale, layout) { Uhr.register = function (locale, layout) {