Explorar o código

Fix typo is style tag removal (#2220)

Jonathan Kelley hai 1 ano
pai
achega
aca38e6a34
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/interpreter/src/unified_bindings.rs

+ 1 - 1
packages/interpreter/src/unified_bindings.rs

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