diff --git a/public/static/js/travelynx-actions.js b/public/static/js/travelynx-actions.js
index 30f2439d372131f1f05ebfdf96a03933f9c50464..437ad607ef308918ab3d0848a2871de70c8ac981 100644
--- a/public/static/js/travelynx-actions.js
+++ b/public/static/js/travelynx-actions.js
@@ -166,7 +166,11 @@ function tvly_journey_progress() {
break;
}
if ((rt_dep != 0) && (rt_dep - now > 0)) {
- $('.next-stop').html(stop_name + '
' + hhmm(rt_arr) + ' → ' + hhmm(rt_dep) + odelay(sched_dep, rt_dep));
+ if (rt_arr != 0) {
+ $('.next-stop').html(stop_name + '
' + hhmm(rt_arr) + ' → ' + hhmm(rt_dep) + odelay(sched_dep, rt_dep));
+ } else {
+ $('.next-stop').html(stop_name + '
' + hhmm(rt_dep) + odelay(sched_dep, rt_dep));
+ }
break;
}
}