summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-06-24 22:57:03 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-06-24 22:59:18 (GMT)
commit08faf157b1d86e565d34bfb9507e8fc3d662d1f6 (patch)
tree1dbc7cac0a285bf5f585f75739021a5eb55eccdf /www/js
parent3aaa6e8696569eabf1bd8e4e8397c7a68bb0f747 (diff)
fixed marking of current day
Diffstat (limited to 'www/js')
-rw-r--r--www/js/calendar.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/js/calendar.js b/www/js/calendar.js
index 5df77ac..7f8696a 100644
--- a/www/js/calendar.js
+++ b/www/js/calendar.js
@@ -95,7 +95,10 @@ function calendar_init() {
$('#btn-today').click(calendar_today);
$('#btn-earlier').click(calendar_prev);
$('#btn-later').click(calendar_next);
- calendar_today()
+ current_week_offset = -4;
+ clock.addCallback(function() {
+ calendar_redraw(current_week_offset);
+ });
}
function calendar_today() {