diff --git a/lib/OpenLayers/Control/PanZoomBar.js b/lib/OpenLayers/Control/PanZoomBar.js index bf153b41c2..adb78f0553 100644 --- a/lib/OpenLayers/Control/PanZoomBar.js +++ b/lib/OpenLayers/Control/PanZoomBar.js @@ -168,7 +168,7 @@ OpenLayers.Control.PanZoomBar.prototype = this.zoomStart = evt.xy.clone(); this.div.style.cursor = "move"; // reset the div offsets just in case the div moved - this.zoomBarDiv.offsets = null; + this.zoombarDiv.offsets = null; OpenLayers.Event.stop(evt); },