summaryrefslogtreecommitdiff
path: root/www/js/calendar.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/calendar.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() {