Преглед на файлове

fix: custom js not work

charlie преди 3 години
родител
ревизия
b628044569
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/frontend/handler/ui.cljs

+ 1 - 1
src/main/frontend/handler/ui.cljs

@@ -123,7 +123,7 @@
 
 (defn exec-js-if-exists-&-allowed!
   [t]
-  (when-not mobile/is-native-platform?
+  (when-not (mobile/is-native-platform?)
     (when-let [href (or
                      (state/get-custom-js-link)
                      (config/get-custom-js-path))]