fix removing attributes in web bindings

This commit is contained in:
Evan Almloff committed 2023-02-05 19:48:49 -06:00
1 parent d521da1991
commit c881f9bf82
1 file changed
+1 -1
@@ -217,7 +217,7 @@ mod js {
}
fn remove_attribute(id: u32, field: &str<u8, attr>, ns: &str<u8, ns_cache>) {
r#"{name = $field$;
node = this.nodes[$id$];
node = nodes[$id$];
if (ns == "style") {
node.style.removeProperty(name);
} else if (ns !== null && ns !== undefined && ns !== "") {