diff --git a/config.template.js b/config.template.js index 3d5a7bd..e6cd9cd 100644 --- a/config.template.js +++ b/config.template.js @@ -1,7 +1,6 @@ (function() { var hostname = window.location.hostname; var origin = window.location.protocol + '//' + hostname + (window.location.port ? ':' + window.location.port : ''); - var params = new URLSearchParams(window.location.search.slice(1)); BR.conf = {}; @@ -10,6 +9,7 @@ // or as query parameter (index.html?transit=true#zoom=...) // (uses search/query (?) not hash (#) params, as config only executed once at load) // TODO not included in permalink (better replace permalink with hash plugin) + //var params = new URLSearchParams(window.location.search.slice(1)); //BR.conf.transit = params.has('transit') && (params.get('transit') === 'true'); if (hostname.endsWith('brouter.de')) { diff --git a/index.html b/index.html index 68e82c1..8772ae2 100644 --- a/index.html +++ b/index.html @@ -801,7 +801,7 @@ ); - +