From 587ba9e22cdbc48f675e77ec6572520a0cd12a58 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Fri, 25 Oct 2024 12:37:26 +0800 Subject: style: patch 1dd8064 for refactor --- src/Link.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Link.mjs') 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 { this.lines = [] // Hover link for LeaderLine - this.onmouseover = () => this.getMarkersFromMaps(this) + this.onmouseover = () => this.getMarkersFromMaps() .filter(isAnchorVisible) .forEach(anchor => { const labelText = new URL(this).searchParams.get('text') ?? this.textContent -- cgit v1.2.3-70-g09d2