diff options
-rw-r--r-- | src/dumbyUtils.mjs | 3 |
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) |