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();