From 64bcc6800b4ac8781472fb9a25c211509004d853 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Sat, 1 Nov 2014 04:33:48 +0200 Subject: [PATCH] Autoupdate the schedule --- ractive-init.js | 1 + schedule.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ractive-init.js b/ractive-init.js index a307ae9..a2d16ad 100644 --- a/ractive-init.js +++ b/ractive-init.js @@ -15,6 +15,7 @@ var reactive = new Ractive({ }); function refreshEvent() { + schedule.update(); reactive.set({pastEvents: schedule.pastEvents(), currentEvent: schedule.currentEvent(), nextEvent: schedule.nextEvent(), diff --git a/schedule.js b/schedule.js index 79f30c1..7cd84a6 100644 --- a/schedule.js +++ b/schedule.js @@ -71,4 +71,3 @@ $.urlParam = function(name){ } var schedule = new Schedule(parseInt($.urlParam('roomId'))); -schedule.update();