Sfoglia il codice sorgente

Fix typo is style tag removal (#2220)

Jonathan Kelley 1 anno fa
parent
commit
aca38e6a34
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);
             }