فهرست منبع

custom.js should load last in publishing app

Gabriel Horner 2 سال پیش
والد
کامیت
450fb9dae5
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      deps/publishing/src/logseq/publishing/html.cljs

+ 2 - 2
deps/publishing/src/logseq/publishing/html.cljs

@@ -121,13 +121,13 @@ necessary db filtering"
         }
         }
       }(window.location))"]
       }(window.location))"]
             ;; TODO: should make this configurable
             ;; TODO: should make this configurable
-            [:script {:src "static/js/custom.js"}]
             [:script {:src "static/js/main.js"}]
             [:script {:src "static/js/main.js"}]
             [:script {:src "static/js/interact.min.js"}]
             [:script {:src "static/js/interact.min.js"}]
             [:script {:src "static/js/highlight.min.js"}]
             [:script {:src "static/js/highlight.min.js"}]
             [:script {:src "static/js/katex.min.js"}]
             [:script {:src "static/js/katex.min.js"}]
             [:script {:src "static/js/html2canvas.min.js"}]
             [:script {:src "static/js/html2canvas.min.js"}]
-            [:script {:src "static/js/code-editor.js"}]])))))
+            [:script {:src "static/js/code-editor.js"}]
+            [:script {:src "static/js/custom.js"}]])))))
 
 
 (defn build-html
 (defn build-html
   "Given the graph's db, filters the db using the given options and returns the
   "Given the graph's db, filters the db using the given options and returns the