From 65261ffa7f5a016f1245a3c3cac93d1bf8703900 Mon Sep 17 00:00:00 2001 From: gravel Date: Mon, 25 Dec 2023 18:51:28 +0000 Subject: [PATCH] Tweak share API usage --- output/main.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/output/main.js b/output/main.js index 617a760..5a22bb0 100644 --- a/output/main.js +++ b/output/main.js @@ -439,7 +439,10 @@ function hideCommunity(communityID) { function shareOrCopyToClipboard(text, toastText) { if (navigator.share) { - navigator.share({text}); + navigator.share({ + text, + url: text + }); } else { copyToClipboard(text, toastText) }