Explorar el Código

Fix typo is style tag removal (#2220)

Jonathan Kelley hace 1 año
padre
commit
aca38e6a34
Se han modificado 1 ficheros con 1 adiciones y 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);
             }