瀏覽代碼

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!
 (defn exec-js-if-exists-&-allowed!
   [t]
   [t]
-  (when-not mobile/is-native-platform?
+  (when-not (mobile/is-native-platform?)
     (when-let [href (or
     (when-let [href (or
                      (state/get-custom-js-link)
                      (state/get-custom-js-link)
                      (config/get-custom-js-path))]
                      (config/get-custom-js-path))]