diff --git a/dev/squint/src/dev/squint.cljs b/dev/squint/src/dev/squint.cljs index 618d212..9335280 100644 --- a/dev/squint/src/dev/squint.cljs +++ b/dev/squint/src/dev/squint.cljs @@ -31,7 +31,7 @@ (set! (.. el -dataset -theme) (if (= current "dark") "light" "dark")) (js/requestAnimationFrame - #(js-delete (.-dataset el) "noTransitions")))) + (fn [] (.removeAttribute el "data-no-transitions"))))) (defn section [title & children] [:section {:style {"margin-bottom" "2.5rem"}}