aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-11-04 23:17:18 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-11-04 23:17:18 +0800
commitc4c8903b148ce75dd2470203e9faf93e3a42b15b (patch)
treeba8684d5edaf0b897da85b1a70e1fededdefbaca /src
parent9d9fb5652086dad99f9b0f4b32b57b49568a5ead (diff)
parent71810f684724245f17b5cee72be030f4a2467cca (diff)
Merge branch 'addon'
Diffstat (limited to 'src')
-rw-r--r--src/dumbyUtils.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dumbyUtils.mjs b/src/dumbyUtils.mjs
index 8110e82..975833b 100644
--- a/src/dumbyUtils.mjs
+++ b/src/dumbyUtils.mjs
@@ -144,7 +144,7 @@ export const addGeoSchemeByText = async (node) => {
144 144
145 // Return anchor element with Geo Scheme 145 // Return anchor element with Geo Scheme
146 const a = document.createElement('a') 146 const a = document.createElement('a')
147 a.className = 'not-geolink from-geocoding' 147 a.className = 'not-geolink from-text'
148 a.href = `geo:0,0?xy=${x},${y}` 148 a.href = `geo:0,0?xy=${x},${y}`
149 a.textContent = match.at(0) 149 a.textContent = match.at(0)
150 return a 150 return a