From 22ceb491d64d539150ec9a3a95f551677f1b314b Mon Sep 17 00:00:00 2001 From: tsedor <itsme199@gmail.com> Date: Sat, 01 Sep 2018 06:59:58 +0000 Subject: [PATCH] Update common.js --- 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