Przeglądaj źródła

fix(publishing): fix order of scripts

Andelf 3 lat temu
rodzic
commit
5a9155d224
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/main/frontend/publishing/html.cljs

+ 2 - 2
src/main/frontend/publishing/html.cljs

@@ -84,7 +84,7 @@
         }
       }(window.location))"]
             ;; TODO: should make this configurable
+           [:script {:src "static/js/main.js"}]
            [:script {:src "static/js/highlight.min.js"}]
            [:script {:src "static/js/interact.min.js"}]
-           [:script {:src "static/js/code-editor.js"}]
-           [:script {:src "static/js/main.js"}]]))))
+           [:script {:src "static/js/code-editor.js"}]]))))