From 3dee209b4a5bf7dd921fb35dc583563559e42e4f Mon Sep 17 00:00:00 2001 From: Norbert Renner Date: Thu, 13 Oct 2016 19:14:06 +0200 Subject: [PATCH] fixed transit switch instead of URL params, as im demo is separate --- config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.js b/config.js index 4a280c5..b0eb1ad 100644 --- a/config.js +++ b/config.js @@ -6,11 +6,11 @@ BR.conf = {}; // Switch for intermodal routing demo - //BR.conf.transit = true; + BR.conf.transit = false; // 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) - BR.conf.transit = params.has('transit') && (params.get('transit') === 'true'); + //BR.conf.transit = params.has('transit') && (params.get('transit') === 'true'); if (hostname === 'brouter.de' || hostname === 'h2096617.stratoserver.net') {