From 69f4907a20d87404226b13e1360b75edbb8bb286 Mon Sep 17 00:00:00 2001 From: Simon Giesel Date: Tue, 8 May 2018 18:33:24 +0000 Subject: [PATCH] Make offset global --- js/clock.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/clock.js b/js/clock.js index 1791864..687e9e8 100644 --- a/js/clock.js +++ b/js/clock.js @@ -1,9 +1,9 @@ +var offset = 49020000; $(document).ready(function() { // Create two variable with the names of the months and days in an array - var monthNames = [ "Januar" , "Febuar" , "März" , "April" , "Mai" , "Juni" , "Juli" , "August" , "September" , "Oktober" , "November" , "Dezember" ]; + var monthNames = [ "Januar" , "Febuar" , "März" , "April" , "Mai" , "Juni" , "Juli" , "August" , "September" , "Oktober" , "November" , "Dezember" ]; var dayNames= [ "Sonntag" , "Montag" , "Dienstag" , "Mittwoch" , "Donnerstag" , "Freitag" , "Samstag" ]; - var offset = 49020000; timeTick(); setInterval(timeTick, 1000);