diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2024-11-04 23:17:18 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2024-11-04 23:17:18 +0800 |
| commit | c4c8903b148ce75dd2470203e9faf93e3a42b15b (patch) | |
| tree | ba8684d5edaf0b897da85b1a70e1fededdefbaca /src | |
| parent | 9d9fb5652086dad99f9b0f4b32b57b49568a5ead (diff) | |
| parent | 71810f684724245f17b5cee72be030f4a2467cca (diff) | |
Merge branch 'addon'
Diffstat (limited to 'src')
| -rw-r--r-- | src/dumbyUtils.mjs | 2 |
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 |