mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
fix(dev): missed script
This commit is contained in:
@@ -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 src="/static/js/interact.min.js"></script></body></html>
|
||||
</script><script src="/static/js/main.js"></script><script src="/static/js/highlight.min.js"></script><script src="/static/js/interact.min.js"></script></body></html>
|
||||
|
||||
@@ -213,7 +213,7 @@
|
||||
(let [el-ref (rum/use-ref nil)]
|
||||
(rum/use-effect!
|
||||
(fn []
|
||||
(when-let [el (and (fn? js/interact) (rum/deref el-ref))]
|
||||
(when-let [el (and (fn? js/window.interact) (rum/deref el-ref))]
|
||||
(-> (js/interact el)
|
||||
(.draggable
|
||||
(bean/->js
|
||||
|
||||
Reference in New Issue
Block a user