Browse Source

fix: add missing interact.min.js

Tienson Qin 4 years ago
parent
commit
450cad8085
2 changed files with 2 additions and 1 deletions
  1. 1 1
      public/index.html
  2. 1 0
      src/main/frontend/publishing/html.cljs

+ 1 - 1
public/index.html

@@ -13,4 +13,4 @@ const portal = new MagicPortal(worker);
   const workerThread = await portal.get('workerThread');
   window.workerThread = workerThread;
 })();
-</script><script src="/static/js/main.js"></script><script src="/static/js/highlight.min.js"></script></body></html>
+</script><script src="/static/js/main.js"></script><script src="/static/js/highlight.min.js"><script src="/static/js/interact.min.js"></script></body></html>

+ 1 - 0
src/main/frontend/publishing/html.cljs

@@ -83,4 +83,5 @@
       }(window.location))"]
             ;; TODO: should make this configurable
            [:script {:src "/static/js/highlight.min.js"}]
+           [:script {:src "/static/js/interact.min.js"}]
            [:script {:src "/static/js/publishing/main.js"}]]))))