typo
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11842 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -153,7 +153,7 @@ OpenLayers.Handler.Feature = OpenLayers.Class(OpenLayers.Handler, {
|
|||||||
/**
|
/**
|
||||||
* Method: touchmove
|
* Method: touchmove
|
||||||
* Handle touchmove events. We just prevent the browser default behavior,
|
* 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.
|
* selecting a feature.
|
||||||
*
|
*
|
||||||
* Parameters:
|
* Parameters:
|
||||||
@@ -283,7 +283,7 @@ OpenLayers.Handler.Feature = OpenLayers.Class(OpenLayers.Handler, {
|
|||||||
}
|
}
|
||||||
if(this.feature) {
|
if(this.feature) {
|
||||||
if(evt.type === "touchstart") {
|
if(evt.type === "touchstart") {
|
||||||
// stop the event to prevent Android Safari from
|
// stop the event to prevent Android Webkit from
|
||||||
// "flashing" the map div
|
// "flashing" the map div
|
||||||
OpenLayers.Event.stop(evt);
|
OpenLayers.Event.stop(evt);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user