Sfoglia il codice sorgente

fix: remove unused function

Konstantinos Kaloutas 3 anni fa
parent
commit
83240b7e08
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  1. 0 4
      src/main/frontend/util.cljc

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

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