From 7d78d86e29a1a8af294265f259c9ba5cc56834ef Mon Sep 17 00:00:00 2001
From: Manuel Friedli <manuel@fritteli.ch>
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 @@
 <!DOCTYPE html>
 <html manifest="manifest.appcache">
 <head>
-<title>Die Zeit als Wort - in HTML, CSS und JS</title>
-<script type="text/javascript" src="jquery-2.0.3.min.js"></script>
-<script type="text/javascript" src="jquery.cookie.js"></script>
-<script type="text/javascript" src="uhr.js"></script>
-<script type="text/javascript" src="uhr-de_CH.js"></script>
-<script type="text/javascript" src="uhr-de.js"></script>
-<script type="text/javascript" src="uhr-en.js"></script>
-<link rel="stylesheet" type="text/css" href="uhr.css" />
-<link rel="stylesheet" type="text/css" href="uhr-black.css" id="theme" />
-<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+	<title>Die Zeit als Wort - in HTML, CSS und JS</title>
+	<script type="text/javascript" src="jquery-2.0.3.min.js"></script>
+	<script type="text/javascript" src="jquery.cookie.js"></script>
+	<script type="text/javascript" src="uhr.js"></script>
+	<script type="text/javascript" src="uhr-de_CH.js"></script>
+	<script type="text/javascript" src="uhr-de.js"></script>
+	<script type="text/javascript" src="uhr-en.js"></script>
+	<link rel="stylesheet" type="text/css" href="uhr.css" />
+	<link rel="stylesheet" type="text/css" href="uhr-black.css" id="theme" />
+	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
 </head>
 <body>
 	<div id="uhr">
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;
 	}