Skip to content

Commit 428f180

Browse files
committed
show times for first route stop
1 parent 8ad7b93 commit 428f180

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/js/map_stops.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,6 @@ window.refresh_stop_times = refresh_stop_times;
173173

174174
function display_stop_times(stop_routes) {
175175
function display_hours(scheduled, actual) {
176-
if(scheduled === null) {
177-
return ['-', null];
178-
}
179176
const total_diff = calculate_diff(scheduled, actual);
180177

181178
const diff_class = 3 < total_diff || total_diff < -1 ? 'text-danger fw-bold' : 'text-success';

0 commit comments

Comments
 (0)