From 7d78d86e29a1a8af294265f259c9ba5cc56834ef Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Mon, 25 Nov 2013 16:58:21 +0100 Subject: [PATCH] webkit bug geflickt --- index.html | 20 ++++++++++---------- uhr.js | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) 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; }