diff --git a/lib/OpenLayers/Map.js b/lib/OpenLayers/Map.js index 796c0411ef..dff25b6c54 100644 --- a/lib/OpenLayers/Map.js +++ b/lib/OpenLayers/Map.js @@ -87,7 +87,7 @@ OpenLayers.Map.prototype = { this.updateSize(); // update the internal size register whenever the div is resized - this.events.register("resize", this, updateSize); + this.events.register("resize", this, this.updateSize); this.layers = [];