diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-17 15:50:07 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-17 16:43:21 +0100 |
commit | d034f3c1447ea91cb4333365ce123d58deb2de0d (patch) | |
tree | 1c7e9eab5b32ecbc35bb4886ea45b4d84ee88578 /web/js/map-OpenLayers.js | |
parent | 676d755848465c6fec01243fd6c7df7e249d5c2b (diff) |
Refactor /around list code to share with others.
Both /reports and /my share an ID and a /reports/ajax function, use
these also on /around (and share ajax/non-ajax code).
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r-- | web/js/map-OpenLayers.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index e7702e764..53535b146 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -861,10 +861,6 @@ OpenLayers.Format.FixMyStreet = OpenLayers.Class(OpenLayers.Format.JSON, { } else { obj = json; } - var current; - if (typeof(obj.current) != 'undefined' && (current = document.getElementById('current'))) { - current.innerHTML = obj.current; - } var reports_list; if (typeof(obj.reports_list) != 'undefined' && (reports_list = document.getElementById('js-reports-list'))) { reports_list.innerHTML = obj.reports_list; |