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
This commit is contained in:
@@ -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="";
|
||||
|
||||
Reference in New Issue
Block a user