since we can technically register events for any domelement, there is no reason this variable should be named 'div'. Change it to 'element' and update its use everywhere.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@866 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -368,7 +368,7 @@ OpenLayers.Map.prototype = {
|
||||
var newSize = this.getCurrentSize();
|
||||
|
||||
if (!newSize.equals(this.getSize())) {
|
||||
this.events.div.offsets = null;
|
||||
this.events.element.offsets = null;
|
||||
this.size = newSize;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user