From aa6c5b8a35269175c2c5093927e604a4b908bc85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Harrtell?= Date: Thu, 10 Jan 2013 21:30:09 +0100 Subject: [PATCH] Default fallThrough to false Default behaviour in OpenLayers 2.12 is to swallow events, even though the documentation says otherwise. --- lib/OpenLayers/Map.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/OpenLayers/Map.js b/lib/OpenLayers/Map.js index 872e31cce5..fae33ea086 100644 --- a/lib/OpenLayers/Map.js +++ b/lib/OpenLayers/Map.js @@ -384,9 +384,9 @@ OpenLayers.Map = OpenLayers.Class({ * APIProperty: fallThrough * {Boolean} Should OpenLayers allow events on the map to fall through to * other elements on the page, or should it swallow them? (#457) - * Default is to fall through. + * Default is to swallow. */ - fallThrough: true, + fallThrough: false, /** * APIProperty: autoUpdateSize