diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-11-05 11:20:35 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-11-05 11:20:51 +0800 |
commit | 43b39e52c2a84c3b1c0c26564ae1e65816a4e4fe (patch) | |
tree | 64f994ee1e0aed93239825dc29698fea64712b40 /addon/index.js | |
parent | c4c8903b148ce75dd2470203e9faf93e3a42b15b (diff) |
feat: add OSM for diary page
Diffstat (limited to 'addon/index.js')
-rw-r--r-- | addon/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addon/index.js b/addon/index.js index 2ce3423..47d9853 100644 --- a/addon/index.js +++ b/addon/index.js | |||
@@ -20,6 +20,7 @@ const contentSelectors = { | |||
20 | 'hackmd.io': '#doc', | 20 | 'hackmd.io': '#doc', |
21 | 'www.ptt.cc': '#main-content', | 21 | 'www.ptt.cc': '#main-content', |
22 | 'prosemirror.net': '.ProseMirror', | 22 | 'prosemirror.net': '.ProseMirror', |
23 | 'www.openstreetmap.org': '.content-body', | ||
23 | } | 24 | } |
24 | const contentSelector = contentSelectors[url.host] | 25 | const contentSelector = contentSelectors[url.host] |
25 | 26 | ||