🐛 Fix problem with transparent frame thumbnails

This commit is contained in:
alonso.torres 2023-01-26 17:46:39 +01:00
parent 18652d0b6f
commit d4921c8eb9
3 changed files with 42 additions and 32 deletions

View file

@ -478,7 +478,11 @@
(defn get-data [^js node ^string attr]
(when (some? node)
(.getAttribute node (str "data-" attr))))
(.getAttribute node (dm/str "data-" attr))))
(defn set-data! [^js node ^string attr value]
(when (some? node)
(.setAttribute node (dm/str "data-" attr) (dm/str value))))
(defn set-attribute! [^js node ^string attr value]
(when (some? node)