Unverified Commit 745b3708 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

frontend tvly_journey_progress: handle entry-only stops

parent f942a9d9
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -166,7 +166,11 @@ function tvly_journey_progress() {
				break;
			}
			if ((rt_dep != 0) && (rt_dep - now > 0)) {
				if (rt_arr != 0) {
					$('.next-stop').html(stop_name + '<br/>' + hhmm(rt_arr) + '' + hhmm(rt_dep) + odelay(sched_dep, rt_dep));
				} else {
					$('.next-stop').html(stop_name + '<br/>' + hhmm(rt_dep) + odelay(sched_dep, rt_dep));
				}
				break;
			}
		}