don't set the cursor to "inherit" in the VML renderer. r=pgiraud (closes #1624)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@7554 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2008-07-21 14:37:44 +00:00
parent 7c23659f24
commit a885313336

View File

@@ -253,7 +253,7 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
stroke.setAttribute("endcap", !style.strokeLinecap || style.strokeLinecap == 'butt' ? 'flat' : style.strokeLinecap);
}
if (style.cursor != null) {
if (style.cursor != "inherit" && style.cursor != null) {
node.style.cursor = style.cursor;
}
return node;