diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-03-01 11:31:00 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-03-01 11:31:00 +0000 |
commit | 6be95b8b2f9530e58652710eef0e39836980e0bc (patch) | |
tree | b9ac287b46336abdb0f89bbce5d8717e18c95e67 /web/js/map-OpenLayers.js | |
parent | be88a751f3f3febe9b71d5148d68d839b7601de8 (diff) |
Function return has reversed.
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'; |