aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/dumbyUtils.mjs
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-10-23 16:35:32 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-10-23 16:50:30 +0800
commit1c6d532ac8775dc572df18ed90ba068076d914b7 (patch)
treedbffff7903b2a9542cb4ae1718e39e46a0272a20 /src/dumbyUtils.mjs
parent24c4fe6d2fa8c1824129535502d4f619fcf0f912 (diff)
feat(leader-line): patch 5cb442c
Diffstat (limited to 'src/dumbyUtils.mjs')
-rw-r--r--src/dumbyUtils.mjs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dumbyUtils.mjs b/src/dumbyUtils.mjs
index 23461ce..12b5905 100644
--- a/src/dumbyUtils.mjs
+++ b/src/dumbyUtils.mjs
@@ -258,8 +258,7 @@ export const createDocLink = link => {
258 }) 258 })
259 } 259 }
260 link.onmouseout = () => { 260 link.onmouseout = () => {
261 link.lines.forEach(line => line.remove()) 261 link.onmouseout = () => removeLeaderLines(link)
262 link.lines.length = 0
263 262
264 // resume targets from highlight 263 // resume targets from highlight
265 const targets = document.querySelectorAll(selector) 264 const targets = document.querySelectorAll(selector)