diff --git a/schedule.js b/schedule.js index 01e7f49..be30e16 100644 --- a/schedule.js +++ b/schedule.js @@ -21,7 +21,7 @@ function Schedule() { this.currentEvent = function() { var latestEvent = _.last(this.pastEvents()); var nextEvent = this.nextEvent(); - if (typeof nextEvent != 'undefined' && nextEvent.startTime.subtract('10', 'minutes').isAfter(moment())) { + if (typeof nextEvent != 'undefined' && (latestEvent.displayNext || moment(nextEvent.startTime).subtract('minutes', 10).isAfter(moment()))) { return latestEvent; } else { return undefined;