From 6aee61de90ef77ea1d8b2d6f296500731fbb3347 Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Mon, 25 Nov 2013 11:09:57 +0100 Subject: [PATCH] immer-an-klassen vereinheitlicht --- uhr-de_CH.js | 2 +- uhr.js | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/uhr-de_CH.js b/uhr-de_CH.js index 7a3c6d6..f7bf8c6 100644 --- a/uhr-de_CH.js +++ b/uhr-de_CH.js @@ -2,7 +2,7 @@ var layout = { language: "Bärndütsch", locale: "de_CH", values: [ - [l('E', 'es'), l('S', 'es'),l('K'),l('I', 'isch'),l('S', 'isch'),l('C', 'isch'),l('H', 'isch'),l('A'),m('F', 5, 25, 35, 55),m('Ü', 5, 25, 35, 55),m('F', 5, 25, 35, 55)], + [l('E', 'alwayson'), l('S', 'alwayson'),l('K'),l('I', 'alwayson'),l('S', 'alwayson'),l('C', 'alwayson'),l('H', 'alwayson'),l('A'),m('F', 5, 25, 35, 55),m('Ü', 5, 25, 35, 55),m('F', 5, 25, 35, 55)], [m('V', 15, 45), m('I', 15, 45),m('E', 15, 45),m('R', 15, 45),m('T', 15, 45),m('U', 15, 45),l('B'),l('F'),m('Z', 10, 50),m('Ä', 10, 50),m('Ä', 10, 50)], [m('Z', 20, 40), m('W', 20, 40),m('Ä', 20, 40),m('N', 20, 40),m('Z', 20, 40),m('G', 20, 40),l('S'),l('I'),m('V', 25, 40, 45, 50, 55),m('O', 25, 40, 45, 50, 55),m('R', 25, 40, 45, 50, 55)], [m('A', 5, 10, 15, 20, 35), m('B', 5, 10, 15, 20, 35),l('O'),m('H', 25, 30, 35),m('A', 25, 30, 35),m('U', 25, 30, 35),m('B', 25, 30, 35),m('I', 25, 30, 35),l('E'),l('G'),l('E')], diff --git a/uhr.js b/uhr.js index 72bbcbc..120730e 100644 --- a/uhr.js +++ b/uhr.js @@ -20,7 +20,7 @@ function highlightCurrentTime() { hour++; } hour = normalizeHour(hour); - highlight('hour'+hour); + highlight('hour' + hour); } function clearDisplay() { @@ -28,8 +28,7 @@ function clearDisplay() { } function resetItems() { clearDisplay() - highlight('es'); - highlight('isch'); + highlight('alwayson'); } function highlight(itemClass) {