Register mouseout operator on div to be same as mouseup, so we don't drag ourselves right out of the box.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@201 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-05-20 01:47:15 +00:00
parent 50a9f706b9
commit b842c09705

View File

@@ -98,6 +98,7 @@ OpenLayers.Map.prototype = {
this.events.register( "mousedown", this, this.defaultMouseDown );
this.events.register( "mouseup", this, this.defaultMouseUp );
this.events.register( "mousemove", this, this.defaultMouseMove );
this.events.register( "mouseout", this, this.defaultMouseUp );
// always call map.destroy()
Event.observe(window, 'unload',