Correctly add the fill element to the VML node. r=ahocevar (Closes #1312)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@6080 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Frédéric Junod
2008-02-08 06:51:01 +00:00
parent db0e03e2bd
commit 1847986723
+3 -4
View File
@@ -217,10 +217,9 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
if (!(style.graphicWidth && style.graphicHeight)) { if (!(style.graphicWidth && style.graphicHeight)) {
fill.aspect = "atmost"; fill.aspect = "atmost";
} }
}
if (fill.parentNode != node) { if (fill.parentNode != node) {
node.appendChild(fill); node.appendChild(fill);
}
} }
} }