Просмотр исходного кода

custom.js should load last in publishing app

Gabriel Horner 2 лет назад
Родитель
Сommit
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))"]
             ;; 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