fixed transit switch instead of URL params, as im demo is separate
This commit is contained in:
parent
38e8fb9c30
commit
3dee209b4a
1 changed files with 2 additions and 2 deletions
|
|
@ -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') {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue