From 11916a39859ae676cf7943368f9facfafb43891d Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Tue, 06 Nov 2018 21:24:37 +0000
Subject: [PATCH] Update JavaScript libraries used to the latest versions

---
 index.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/index.js b/index.js
index 3a7e3f5..c21eff0 100644
--- a/index.js
+++ b/index.js
@@ -139,7 +139,9 @@
 			
 			if(data.actual[i].status == 'STOPPING') {
 				tr.className = 'success';
-				status_cell.className = 'status-boarding';
+				if (data.actual[i].actualRelativeTime <= 0) {
+					status_cell.className = 'status-boarding';
+				}
 			} else if(parseInt(delay) > 9) {
 				tr.className = 'danger';
 				delay_cell.className = 'status-delayed';

--
Gitblit v1.9.1