diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-02-14 12:48:58 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-02-14 12:48:58 +0800 |
commit | 559c82d2947d6ed791acd2b9736c0219f4400c0f (patch) | |
tree | ea52d164ae77f24ae0f43d437463e0f69295ddba /web | |
parent | 0db59b816c501a51de4f8a71ba0939cfb05622a4 (diff) |
Update
Diffstat (limited to 'web')
-rw-r--r-- | web/bookmarklet/add-map | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/web/bookmarklet/add-map b/web/bookmarklet/add-map index 4a4251a..fc04ab9 100644 --- a/web/bookmarklet/add-map +++ b/web/bookmarklet/add-map | |||
@@ -1,9 +1,7 @@ | |||
1 | javascript: (function() { | 1 | javascript: (function() { |
2 | mapDiv = document.createElement("div"); | ||
3 | mapDiv.setAttribute("class", 'map'); | ||
4 | document.body.append(mapDiv); | ||
5 | script = document.createElement("script"); | 2 | script = document.createElement("script"); |
6 | script.src = 'https://unpkg.com/mapclay@0.1.3/js/mapclay.js'; | 3 | script.src = 'https://unpkg.com/mapclay@0.2.0/js/mapclay.js'; |
7 | script.type = 'module'; | 4 | script.type = 'module'; |
5 | script.setAttribute('data-from', 'code'); | ||
8 | document.body.append(script); | 6 | document.body.append(script); |
9 | })(); | 7 | })(); |