diff --git a/index.html b/index.html index c011fb9..ebbee8b 100644 --- a/index.html +++ b/index.html @@ -1,16 +1,16 @@ -Die Zeit als Wort - in HTML, CSS und JS - - - - - - - - - + Die Zeit als Wort - in HTML, CSS und JS + + + + + + + + +
diff --git a/uhr.js b/uhr.js index 8747842..4f74a1c 100644 --- a/uhr.js +++ b/uhr.js @@ -125,9 +125,9 @@ function renderLayout() { } } } -function Letter(value, style = '') { +function Letter(value, style) { this.value = value; - this.style = style; + this.style = style || ''; this.getStyle = function() { return "item letter " + style; }