From 559c82d2947d6ed791acd2b9736c0219f4400c0f Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 14 Feb 2023 12:48:58 +0800 Subject: Update --- web/bookmarklet/add-map | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'web') 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 @@ javascript: (function() { - mapDiv = document.createElement("div"); - mapDiv.setAttribute("class", 'map'); - document.body.append(mapDiv); script = document.createElement("script"); - script.src = 'https://unpkg.com/mapclay@0.1.3/js/mapclay.js'; + script.src = 'https://unpkg.com/mapclay@0.2.0/js/mapclay.js'; script.type = 'module'; + script.setAttribute('data-from', 'code'); document.body.append(script); })(); -- cgit v1.2.3-70-g09d2