aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-10-27 13:51:22 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-10-27 13:53:01 +0800
commit6d9cea4f0697ea6fea6d404d956f108283d6d650 (patch)
treec696e77c96e4ca880f8d8232d1061db42b8ed950 /src
parentc9efa62a5a41ae5ecf8aae5dd5abd266f7bea9fe (diff)
chore: title of GeoLink
Diffstat (limited to 'src')
-rw-r--r--src/Link.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Link.mjs b/src/Link.mjs
index 05134be..c34fefd 100644
--- a/src/Link.mjs
+++ b/src/Link.mjs
@@ -49,7 +49,7 @@ export const GeoLink = (link) => {
49 link.classList.add('with-leader-line', 'geolink') 49 link.classList.add('with-leader-line', 'geolink')
50 link.classList.remove('not-geolink') 50 link.classList.remove('not-geolink')
51 // TODO refactor as data attribute 51 // TODO refactor as data attribute
52 link.title = 'Left-Click:\t move camera\nMiddle-Click: remove markers\nRight-Click:\t open menu' 52 link.title = 'Left-Click:\t\tmove camera\nMiddle-Click:\tremove markers\nRight-Click:\t\topen menu'
53 link.targets = params.get('id')?.split(',') ?? null 53 link.targets = params.get('id')?.split(',') ?? null
54 link.lines = [] 54 link.lines = []
55 55