From c0090929e0833fa12bf21e215082b681ea07a4be Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Fri, 21 Feb 2020 10:32:27 -0500 Subject: [PATCH] Remove no longer needed substring - see dc7fba4bf --- dist/index.html | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.html b/dist/index.html index d3b539eaf..1250162af 100644 --- a/dist/index.html +++ b/dist/index.html @@ -37,7 +37,7 @@ context.init(); // disable boundaries (unless we have an explicit disable_features list) - var q = iD.utilStringQs(window.location.hash.substring(1)); + var q = iD.utilStringQs(window.location.hash); if (!q.hasOwnProperty('disable_features')) { context.features().disable('boundaries'); } diff --git a/index.html b/index.html index 1d6f99187..3d202a2b6 100644 --- a/index.html +++ b/index.html @@ -37,7 +37,7 @@ context.init(); // disable boundaries (unless we have an explicit disable_features list) - var q = iD.utilStringQs(window.location.hash.substring(1)); + var q = iD.utilStringQs(window.location.hash); if (!q.hasOwnProperty('disable_features')) { context.features().disable('boundaries'); }