Skip to content

Commit

Permalink
fix css/set-property
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurC committed Jun 24, 2024
1 parent 371cacb commit 014a121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hyperfiddle/electric_css3.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
(if (str/starts-with? key "--") ; CSS variable
(.setProperty this key value)
(when-some [property (goog.style/getVendorJsStyleName_ js/document.body key)] ; normalize property names
(.setProperty this property value)))))))
(aset this property value)))))))

#?(:cljs
(defn make-rule "Create a rule in node's stylesheet, return the created rule." [styled-element selector]
Expand Down

0 comments on commit 014a121

Please sign in to comment.