Browse Source

fix(publishing): fix order of scripts

Andelf 3 years ago
parent
commit
5a9155d224
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/frontend/publishing/html.cljs

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

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