From 5417057974e32abf52fb5b8844ad47c6b4a2a46e Mon Sep 17 00:00:00 2001 From: ahocevar Date: Mon, 13 Sep 2010 21:15:13 +0000 Subject: [PATCH] Removing redundant line of code that causes problems when placing the div outside the map. Thanks jorix for catching this. p=jorix, r=me (closes #2836) git-svn-id: http://svn.openlayers.org/trunk/openlayers@10733 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Control/Permalink.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/OpenLayers/Control/Permalink.js b/lib/OpenLayers/Control/Permalink.js index 99f8d1349b..fc32e4817c 100644 --- a/lib/OpenLayers/Control/Permalink.js +++ b/lib/OpenLayers/Control/Permalink.js @@ -122,7 +122,6 @@ OpenLayers.Control.Permalink = OpenLayers.Class(OpenLayers.Control, { OpenLayers.Control.prototype.draw.apply(this, arguments); if (!this.element) { - this.div.className = this.displayClass; this.element = document.createElement("a"); this.element.innerHTML = OpenLayers.i18n("permalink"); this.element.href="";