Tweak js and css

This commit is contained in:
Petko Bordjukov 2014-08-20 14:36:12 +03:00
parent 06e2a9d2bd
commit e5ac8c178a
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ function Schedule() {
this.currentEvent = function() {
var latestEvent = _.last(this.pastEvents());
var nextEvent = this.nextEvent();
if (typeof nextEvent != 'undefined' && (latestEvent.displayNext || moment(nextEvent.startTime).subtract('minutes', 10).isAfter(moment()))) {
if (typeof nextEvent != 'undefined' && moment(nextEvent.startTime).subtract('minutes', 10).isAfter(moment())) {
return latestEvent;
} else {
return undefined;

View File

@ -26,7 +26,7 @@ tr.past_event {
}
tr.next_event {
color: #FFFF00;
color: #EEEEEE;
}
tr.future_event {