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:
ahocevar
2010-08-19 14:52:45 +00:00
parent 94c29f1d4d
commit 7993fc177b
2 changed files with 13 additions and 2 deletions

View File

@@ -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 {