Move the control.div styling from the code to style.css. r=elemoine (closes #2476)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10070 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -83,9 +83,6 @@ OpenLayers.Control.ScaleLine = OpenLayers.Class(OpenLayers.Control, {
|
||||
draw: function() {
|
||||
OpenLayers.Control.prototype.draw.apply(this, arguments);
|
||||
if (!this.eTop) {
|
||||
this.div.style.display = "block";
|
||||
this.div.style.position = "absolute";
|
||||
|
||||
// stick in the top bar
|
||||
this.eTop = document.createElement("div");
|
||||
this.eTop.className = this.displayClass + "Top";
|
||||
|
||||
Reference in New Issue
Block a user