Browse Source

custom.js should load last in publishing app

Gabriel Horner 2 years ago
parent
commit
450fb9dae5
1 changed files with 2 additions and 2 deletions
  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))"]
             ;; TODO: should make this configurable
-            [:script {:src "static/js/custom.js"}]
             [:script {:src "static/js/main.js"}]
             [:script {:src "static/js/interact.min.js"}]
             [:script {:src "static/js/highlight.min.js"}]
             [:script {:src "static/js/katex.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
   "Given the graph's db, filters the db using the given options and returns the