From 00d98f3381ad64de1fb9924ae40f5db9fadf85fc Mon Sep 17 00:00:00 2001 From: gravel Date: Mon, 25 Dec 2023 18:35:49 +0000 Subject: [PATCH] Tweak share API usage --- output/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/output/main.js b/output/main.js index acd63f2..e95ea37 100644 --- a/output/main.js +++ b/output/main.js @@ -548,7 +548,8 @@ function addSearchInteractions() { newLocation.hash = hash; if (navigator.share) { navigator.share({ - url: newLocation.href + text: newLocation.href, + url: newLocation.href, }); } else { copyToClipboard(newLocation.href, "Share link copied to clipboard.")