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