Browse Source

fix: custom js not work

charlie 3 năm trước cách đây
mục cha
commit
b628044569
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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))]