diff options
author | Marius Halden <marius.h@lden.org> | 2018-06-07 14:36:19 +0200 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2018-06-07 14:36:19 +0200 |
commit | 56f61b1441070aa0b9ddcfc74aca46c20313609f (patch) | |
tree | bf99e1374148b94c58e6bc5473fac98310c3e588 /web/js/map-OpenLayers.js | |
parent | 956f8b8a065824f9a9dc379eba1d0aa8b1b669cf (diff) | |
parent | 80cf37ef3f52d5b466c13c7bddfddd62f6d4f8fc (diff) |
Merge tag 'v2.3.4' into fiksgatami-dev
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r-- | web/js/map-OpenLayers.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index 868e2333e..8f84e5c94 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -312,7 +312,9 @@ $.extend(fixmystreet.utils, { } // clickFeature operates on touchstart, we do not want the map click taking place on touchend! - fixmystreet.maps.click_control.deactivate(); + if (fixmystreet.maps.click_control) { + fixmystreet.maps.click_control.deactivate(); + } // All of this, just so that ctrl/cmd-click on a pin works?! var event; |