Skip to content

Commit

Permalink
refactor: In case of missing share API, always display the message
Browse files Browse the repository at this point in the history
  • Loading branch information
Bigismall committed Sep 27, 2024
1 parent c877235 commit be010f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ window.addEventListener("load", () => {
});

if (!navigator.canShare()) {
warn("Web Share API not supported :(");
console.log("Web Share API not supported :(");
}

browser = new PhotoBrowser($elements.get("browser") as HTMLInputElement);
Expand Down

0 comments on commit be010f8

Please sign in to comment.