diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-12-21 16:31:52 +0100 |
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-12-21 16:31:52 +0100 |
| commit | 140ac6657166236eb2141f554002a39f91ee416a (patch) | |
| tree | 4ca516b622b0b0e0ca8d30866660dee28d326e23 | |
| parent | 12024aab9ea9aec5cdb1241f1d9d549decd3e456 (diff) | |
geolocation: remove iris / !iris icons
almost all backends are !iris, so they are not too helpful
| -rw-r--r-- | public/static/js/geolocation.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/static/js/geolocation.js b/public/static/js/geolocation.js index 2082e44..fdf757a 100644 --- a/public/static/js/geolocation.js +++ b/public/static/js/geolocation.js @@ -26,7 +26,7 @@ $(document).ready(function() { const parts = stop.split(';'); const [ eva, name, dbris, efa, hafas, motis ] = parts; - const node = $('<a class="tablerow" href="/s/' + eva + '?dbris=' + (dbris||0) + '&efa=' + (efa||0) + '&hafas=' + (hafas||0) + '&motis=' + (motis||0) + '"><span><i class="material-icons" aria-hidden="true">' + (!(dbris||efa||hafas||motis) ? 'train' : 'directions') + '</i>' + name + '</span></a>'); + const node = $('<a class="tablerow" href="/s/' + eva + '?dbris=' + (dbris||0) + '&efa=' + (efa||0) + '&hafas=' + (hafas||0) + '&motis=' + (motis||0) + '"><span>' + name + '</span></a>'); node.click(function() { $('nav .preloader-wrapper').addClass('active'); }); |
