aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Link.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Link.mjs')
-rw-r--r--src/Link.mjs2
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