mirror of https://github.com/logseq/logseq
Merge branch 'master' of github.com:logseq/logseq
commit
4d3e9f81ce
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue