We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c1c1d2 commit 0021968Copy full SHA for 0021968
src/js/map_stops.js
@@ -193,10 +193,19 @@ function display_stop_times(stop_routes) {
193
}
194
195
for(let i = route.times.length; i < 3; i++) {
196
- const td = document.createElement('td');
197
- td.textContent = '-';
198
- td.setAttribute('colspan', '2');
199
- row.appendChild(td);
+ {
+ const td = document.createElement('td');
+ td.textContent = '-';
+ td.setAttribute('colspan', '2');
200
+ td.classList.add('d-none', 'd-md-table-cell');
201
+ row.appendChild(td);
202
+ }
203
204
205
206
+ td.classList.add('d-table-cell', 'd-md-none');
207
208
209
210
211
tbody.appendChild(row);
0 commit comments