diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-04-30 17:04:36 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-05-02 14:28:37 +0100 |
commit | 36c382ed12ba6da3164e256dd3e4ae97fa7235ea (patch) | |
tree | 8a6dfdc5bd4dc0460885a3c23963b22ba4a12249 /web/js/map-OpenLayers.js | |
parent | 8f84a7d80236d86428454f4916c285132bb8a6cb (diff) |
Some IE8/old JS workarounds.
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r-- | web/js/map-OpenLayers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index 1e763d91f..a96e65953 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -8,7 +8,7 @@ $.extend(fixmystreet.utils, { if (!location.search) { return qs; } - location.search.substring(1).split(/[;&]/).forEach(function(i) { + $.each(location.search.substring(1).split(/[;&]/), function(n, i) { var s = i.split('='), k = s[0], v = s[1] && decodeURIComponent(s[1].replace(/\+/g, ' ')); |