diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-10-02 20:57:17 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-10-02 20:57:17 +0200 |
commit | 655addf1dcdfaecb6dc420c99a4857a4f6bd4571 (patch) | |
tree | e351f5ae7b081c67dd035622f010f0cd12ff8afe | |
parent | e4814b323de6412225b338471b9a5bcd5af13a4b (diff) |
collapse.js: Add efa query parameters for efa trips
-rw-r--r-- | public/static/js/collapse.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/public/static/js/collapse.js b/public/static/js/collapse.js index 6664795..a94b227 100644 --- a/public/static/js/collapse.js +++ b/public/static/js/collapse.js @@ -113,6 +113,9 @@ function dbf_reg_handlers() { if (param.get('detailed')) { suffix += '&detailed=1'; } + if (param.get('efa') && param.get('efa') != '0') { + suffix += '&efa=' + param.get('efa') + '&highlight=' + trainElem.data('station'); + } if (param.get('hafas') && param.get('hafas') != '0') { suffix += '&hafas=' + param.get('hafas') + '&highlight=' + trainElem.data('station'); } |