diff options
author | Matthew Somerville <matthew@mysociety.org> | 2016-05-17 17:14:08 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2016-05-17 17:14:08 +0100 |
commit | 5154fa740d3eca75534bd1be7a40f07342419fb7 (patch) | |
tree | a080a64589a651a906e015e85a37b8b9b138f0cf /web | |
parent | a0c620b2f4e19dd2a46dcf42ba4c5ec70af49410 (diff) |
Increase pixel tolerance of map click handler.
Diffstat (limited to 'web')
-rw-r--r-- | web/js/map-OpenLayers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index f6c446f7b..267643898 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -665,7 +665,7 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, { defaultHandlerOptions: { 'single': true, 'double': false, - 'pixelTolerance': 0, + 'pixelTolerance': 4, 'stopSingle': false, 'stopDouble': false }, |