From e5ac8c178a2417761005fbbc688d71a4c10a1ea0 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Wed, 20 Aug 2014 14:36:12 +0300 Subject: [PATCH] Tweak js and css --- schedule.js | 2 +- styles.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/schedule.js b/schedule.js index 0e98f85..81cdeab 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' && (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; diff --git a/styles.css b/styles.css index 9ed4dc6..90ec64a 100644 --- a/styles.css +++ b/styles.css @@ -26,7 +26,7 @@ tr.past_event { } tr.next_event { - color: #FFFF00; + color: #EEEEEE; } tr.future_event {