Default fallThrough to false

Default behaviour in OpenLayers 2.12 is to swallow events, even though the documentation says otherwise.
This commit is contained in:
Björn Harrtell
2013-01-10 21:30:09 +01:00
parent 443c715f51
commit aa6c5b8a35
+2 -2
View File
@@ -384,9 +384,9 @@ OpenLayers.Map = OpenLayers.Class({
* APIProperty: fallThrough * APIProperty: fallThrough
* {Boolean} Should OpenLayers allow events on the map to fall through to * {Boolean} Should OpenLayers allow events on the map to fall through to
* other elements on the page, or should it swallow them? (#457) * 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 * APIProperty: autoUpdateSize