Skip to content

Commit

Permalink
fixes maybe
Browse files Browse the repository at this point in the history
ekqiu committed May 4, 2024
1 parent c08c043 commit 3ddabee
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
@@ -288,9 +288,7 @@ async function shareImage(imageUrl) {
}),
];
const shareData = {
title: fileName,
files: filesArray,
url: document.location.origin,
};
if (navigator.canShare && navigator.canShare(shareData)) {
await navigator.share(shareData);

0 comments on commit 3ddabee

Please sign in to comment.