diff options
-rw-r--r-- | public/static/js/travelynx-actions.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/public/static/js/travelynx-actions.js b/public/static/js/travelynx-actions.js index 5f58f29..d4ddf45 100644 --- a/public/static/js/travelynx-actions.js +++ b/public/static/js/travelynx-actions.js @@ -75,6 +75,9 @@ function hhmm(epoch) { return (h < 10 ? '0' + h : h) + ':' + (m < 10 ? '0' + m : m); } function odelay(sched, rt) { + if (sched == 0) { + return ''; + } if (sched < rt) { return ' (+' + ((rt - sched) / 60) + ')'; } |