git-svn-id: http://svn.openlayers.org/trunk/openlayers@11842 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Stéphane Brunner
2011-03-31 12:47:41 +00:00
parent 174078bca9
commit 0af21e8088

View File

@@ -153,7 +153,7 @@ OpenLayers.Handler.Feature = OpenLayers.Class(OpenLayers.Handler, {
/**
* Method: touchmove
* Handle touchmove events. We just prevent the browser default behavior,
* for Android Safari not to select text when moving the finger after
* for Android Webkit not to select text when moving the finger after
* selecting a feature.
*
* Parameters:
@@ -283,7 +283,7 @@ OpenLayers.Handler.Feature = OpenLayers.Class(OpenLayers.Handler, {
}
if(this.feature) {
if(evt.type === "touchstart") {
// stop the event to prevent Android Safari from
// stop the event to prevent Android Webkit from
// "flashing" the map div
OpenLayers.Event.stop(evt);
}