diff options
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r-- | web/js/map-OpenLayers.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index 8d8f03e37..f9c2efcaf 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -424,7 +424,8 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, { }, locate_report_mobile: function(e) { - if (this.locate_report_pin_and_council(e)) { + var lonlat = this.locate_report_pin_and_council(e); + if (!lonlat) { return; } fixmystreet.page = 'new'; |