Browse Source

fix: remove unused function

Konstantinos Kaloutas 3 years ago
parent
commit
83240b7e08
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/main/frontend/util.cljc

+ 0 - 4
src/main/frontend/util.cljc

@@ -338,10 +338,6 @@
    (defn stop-propagation [e]
      (when e (.stopPropagation e))))
 
-#?(:cljs
-   (defn cur-doc-top []
-     (.. js/document -documentElement -scrollTop)))
-
 #?(:cljs
    (defn element-top [elem top]
      (when elem