diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-10-25 12:37:26 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-10-25 12:37:29 +0800 |
commit | 587ba9e22cdbc48f675e77ec6572520a0cd12a58 (patch) | |
tree | 8702fb6544cbd46bacda83107c72e3d8f0e645d4 /src/Link.mjs | |
parent | c31f0c502808848bb343646c5e78795b9d5a17ee (diff) |
style: patch 1dd8064 for refactor
Diffstat (limited to 'src/Link.mjs')
-rw-r--r-- | src/Link.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Link.mjs b/src/Link.mjs index 2ff1123..9b58fb3 100644 --- a/src/Link.mjs +++ b/src/Link.mjs | |||
@@ -48,7 +48,7 @@ export class GeoLink extends window.HTMLAnchorElement { | |||
48 | this.lines = [] | 48 | this.lines = [] |
49 | 49 | ||
50 | // Hover link for LeaderLine | 50 | // Hover link for LeaderLine |
51 | this.onmouseover = () => this.getMarkersFromMaps(this) | 51 | this.onmouseover = () => this.getMarkersFromMaps() |
52 | .filter(isAnchorVisible) | 52 | .filter(isAnchorVisible) |
53 | .forEach(anchor => { | 53 | .forEach(anchor => { |
54 | const labelText = new URL(this).searchParams.get('text') ?? this.textContent | 54 | const labelText = new URL(this).searchParams.get('text') ?? this.textContent |