Autoupdate the schedule
This commit is contained in:
parent
a8bae839e7
commit
64bcc6800b
|
@ -15,6 +15,7 @@ var reactive = new Ractive({
|
|||
});
|
||||
|
||||
function refreshEvent() {
|
||||
schedule.update();
|
||||
reactive.set({pastEvents: schedule.pastEvents(),
|
||||
currentEvent: schedule.currentEvent(),
|
||||
nextEvent: schedule.nextEvent(),
|
||||
|
|
|
@ -71,4 +71,3 @@ $.urlParam = function(name){
|
|||
}
|
||||
|
||||
var schedule = new Schedule(parseInt($.urlParam('roomId')));
|
||||
schedule.update();
|
||||
|
|
Loading…
Reference in New Issue