Add missing Event.stop() on slider div move event.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@387 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -123,6 +123,7 @@ OpenLayers.Control.PanZoomBar.prototype =
|
|||||||
this.slider.style.top = (parseInt(this.slider.style.top)-deltaY)+"px";
|
this.slider.style.top = (parseInt(this.slider.style.top)-deltaY)+"px";
|
||||||
this.mouseDragStart = evt.xy.copyOf();
|
this.mouseDragStart = evt.xy.copyOf();
|
||||||
}
|
}
|
||||||
|
Event.stop(evt);
|
||||||
},
|
},
|
||||||
zoomBarUp:function(evt) {
|
zoomBarUp:function(evt) {
|
||||||
this.div.style.cursor="default";
|
this.div.style.cursor="default";
|
||||||
|
|||||||
Reference in New Issue
Block a user