Tweak js and css
This commit is contained in:
parent
06e2a9d2bd
commit
e5ac8c178a
|
@ -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;
|
||||
|
|
|
@ -26,7 +26,7 @@ tr.past_event {
|
|||
}
|
||||
|
||||
tr.next_event {
|
||||
color: #FFFF00;
|
||||
color: #EEEEEE;
|
||||
}
|
||||
|
||||
tr.future_event {
|
||||
|
|
Loading…
Reference in New Issue