From 655addf1dcdfaecb6dc420c99a4857a4f6bd4571 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Wed, 2 Oct 2024 20:57:17 +0200 Subject: collapse.js: Add efa query parameters for efa trips --- public/static/js/collapse.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'public') 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'); } -- cgit v1.2.3