Fixed onselect handling for the first down-move-up-out cycle. r=bartvde (closes #2735)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10637 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -200,8 +200,8 @@ OpenLayers.Handler.Drag = OpenLayers.Class(OpenLayers.Handler, {
|
||||
|
||||
if(!this.oldOnselectstart) {
|
||||
this.oldOnselectstart = (document.onselectstart) ? document.onselectstart : OpenLayers.Function.True;
|
||||
document.onselectstart = OpenLayers.Function.False;
|
||||
}
|
||||
document.onselectstart = OpenLayers.Function.False;
|
||||
|
||||
propagate = !this.stopDown;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user