Skip to content

Commit

Permalink
Fixed errant error message on save button
Browse files Browse the repository at this point in the history
  • Loading branch information
calebellenberg committed Dec 2, 2024
1 parent 1e5066e commit 8751ac4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions 2024/11/herald-trends/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -853,8 +853,9 @@ document.addEventListener('DOMContentLoaded', function () {
document.body.appendChild(anchor);
anchor.click();
document.body.removeChild(anchor);

console.error('Web Share API does not support file sharing on this device.');
if (tryToShare) {
console.error('Web Share API does not support file sharing on this device.');
}
}
};
} catch (error) {
Expand Down

0 comments on commit 8751ac4

Please sign in to comment.