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

View File

@@ -216,11 +216,10 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
if (!(style.graphicWidth && style.graphicHeight)) {
fill.aspect = "atmost";
}
if (fill.parentNode != node) {
node.appendChild(fill);
}
}
}
if (fill.parentNode != node) {
node.appendChild(fill);
}
}