diff --git a/lib/OpenLayers/Control/MouseDefaults.js b/lib/OpenLayers/Control/MouseDefaults.js index 206cee9060..3210009ef7 100644 --- a/lib/OpenLayers/Control/MouseDefaults.js +++ b/lib/OpenLayers/Control/MouseDefaults.js @@ -181,7 +181,7 @@ OpenLayers.Control.MouseDefaults.prototype = } document.onselectstart=null; this.mouseDragStart = null; - this.map.div.style.cursor = "default"; + this.map.div.style.cursor = ""; }, /** diff --git a/lib/OpenLayers/Control/MouseToolbar.js b/lib/OpenLayers/Control/MouseToolbar.js index 2ac88080b3..9c9f77a248 100644 --- a/lib/OpenLayers/Control/MouseToolbar.js +++ b/lib/OpenLayers/Control/MouseToolbar.js @@ -239,7 +239,7 @@ OpenLayers.Control.MouseToolbar.prototype = this.map.div.style.cursor = "crosshair"; break; default: - this.map.div.style.cursor = "default"; + this.map.div.style.cursor = ""; break; } diff --git a/lib/OpenLayers/Control/PanZoomBar.js b/lib/OpenLayers/Control/PanZoomBar.js index 0ef10dd630..8eb0de2871 100644 --- a/lib/OpenLayers/Control/PanZoomBar.js +++ b/lib/OpenLayers/Control/PanZoomBar.js @@ -228,7 +228,7 @@ OpenLayers.Control.PanZoomBar.prototype = zoomBarUp:function(evt) { if (!OpenLayers.Event.isLeftClick(evt)) return; if (this.zoomStart) { - this.div.style.cursor="default"; + this.div.style.cursor=""; this.map.events.unregister("mouseup", this, this.passEventToSlider); this.map.events.unregister("mousemove", this, this.passEventToSlider); var deltaY = this.zoomStart.y - evt.xy.y diff --git a/lib/OpenLayers/Handler/Box.js b/lib/OpenLayers/Handler/Box.js index 7194c262ae..f7509f236b 100644 --- a/lib/OpenLayers/Handler/Box.js +++ b/lib/OpenLayers/Handler/Box.js @@ -99,7 +99,7 @@ OpenLayers.Handler.Box.prototype = OpenLayers.Class.inherit( OpenLayers.Handler, this.removeBox(); // TBD: use CSS classes instead - this.map.div.style.cursor = "default"; + this.map.div.style.cursor = ""; this.callback("done", [result]); }, diff --git a/lib/OpenLayers/Handler/Drag.js b/lib/OpenLayers/Handler/Drag.js index c7dd50318b..e3e952a240 100644 --- a/lib/OpenLayers/Handler/Drag.js +++ b/lib/OpenLayers/Handler/Drag.js @@ -95,7 +95,7 @@ OpenLayers.Handler.Drag.prototype = OpenLayers.Class.inherit( OpenLayers.Handler this.started = false; this.dragging = false; // TBD replace with CSS classes - this.map.div.style.cursor = "default"; + this.map.div.style.cursor = ""; this.callback("up", [evt.xy]); document.onselectstart = this.oldOnselectstart; } @@ -113,7 +113,7 @@ OpenLayers.Handler.Drag.prototype = OpenLayers.Class.inherit( OpenLayers.Handler this.started = false; this.dragging = false; // TBD replace with CSS classes - this.map.div.style.cursor = "default"; + this.map.div.style.cursor = ""; this.callback("out", []); if(document.onselectstart) { document.onselectstart = this.oldOnselectstart;