aboutsummaryrefslogtreecommitdiffstats
path: root/web/js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-04-30 11:31:56 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-04-30 11:31:56 +0100
commiteb0dff66c47f91f345ecbda223d67c32569148af (patch)
tree2d57f9e7069b8d659814910cc369e797b90cdd60 /web/js
parent2b7bc36262090f8abe560f80629b13a359f282f0 (diff)
Drop unused copy of function.
This is already defined in fixmystreet.utils further up.
Diffstat (limited to 'web/js')
-rw-r--r--web/js/map-OpenLayers.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js
index 7d0f9076e..1e763d91f 100644
--- a/web/js/map-OpenLayers.js
+++ b/web/js/map-OpenLayers.js
@@ -330,20 +330,6 @@ $.extend(fixmystreet.utils, {
fixmystreet.markers.refresh({force: true});
}
- function parse_query_string() {
- var qs = {};
- if (!location.search) {
- return qs;
- }
- location.search.substring(1).split(/[&;]/).forEach(function(i) {
- var s = i.split('='),
- k = s[0],
- v = s[1] && decodeURIComponent(s[1].replace(/\+/g, ' '));
- qs[k] = v;
- });
- return qs;
- }
-
function replace_query_parameter(qs, id, key) {
var value = $('#' + id).val();
if (value) {