Browse Source

fix: custom js not work

charlie 3 years ago
parent
commit
b628044569
1 changed files with 1 additions and 1 deletions
  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))]