Fix typo is style tag removal (#2220)

This commit is contained in:
Jonathan Kelley 2024-04-01 14:01:44 -07:00 committed by GitHub
parent d45a71ba54
commit aca38e6a34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -113,7 +113,7 @@ mod js {
break;
}
} else if (ns == "style") {
node.style.removeProperty(name);
node.style.removeProperty(field);
} else {
node.removeAttributeNS(ns, field);
}