diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-09-28 19:40:08 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-09-28 19:40:08 (GMT) |
commit | 50f4c00f8f508635bef8ef0d56667279c3b6699f (patch) | |
tree | f3df7f874f6e265f146200b828f8f12a87892771 /www/js/calendar.js | |
parent | ea3ef4df505273827bf2c1e4eef5e9716e9746b0 (diff) |
first test to get clock running
Diffstat (limited to 'www/js/calendar.js')
-rw-r--r-- | www/js/calendar.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/calendar.js b/www/js/calendar.js index 740a4dd..623d79a 100644 --- a/www/js/calendar.js +++ b/www/js/calendar.js @@ -97,7 +97,8 @@ function calendar_init() { $('#btn-later').click(calendar_next); $('#calendar').on('wheel', calendar_scroll); current_week_offset = -4; - clock.addCallback(function() { + clock.addCallback(function(date, time, week) { + draw_clock(date, time, week); calendar_redraw(current_week_offset); }); } |