diff options
Diffstat (limited to 'src/Link.mjs')
-rw-r--r-- | src/Link.mjs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Link.mjs b/src/Link.mjs index 031b125..590942c 100644 --- a/src/Link.mjs +++ b/src/Link.mjs | |||
@@ -64,6 +64,7 @@ export const GeoLink = (link) => { | |||
64 | hide: true, | 64 | hide: true, |
65 | middleLabel: labelText, | 65 | middleLabel: labelText, |
66 | path: 'magnet', | 66 | path: 'magnet', |
67 | path: link.dataset.linePath ?? 'magnet', | ||
67 | }) | 68 | }) |
68 | line.show('draw', { duration: 300 }) | 69 | line.show('draw', { duration: 300 }) |
69 | 70 | ||
@@ -181,7 +182,7 @@ export const DocLink = (link) => { | |||
181 | fontWeight: 'bold', | 182 | fontWeight: 'bold', |
182 | }), | 183 | }), |
183 | hide: true, | 184 | hide: true, |
184 | path: 'magnet', | 185 | path: link.dataset.linePath ?? 'magnet', |
185 | }) | 186 | }) |
186 | link.lines.push(line) | 187 | link.lines.push(line) |
187 | line.show('draw', { duration: 300 }) | 188 | line.show('draw', { duration: 300 }) |