We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e5066e commit 8751ac4Copy full SHA for 8751ac4
2024/11/herald-trends/script.js
@@ -853,8 +853,9 @@ document.addEventListener('DOMContentLoaded', function () {
853
document.body.appendChild(anchor);
854
anchor.click();
855
document.body.removeChild(anchor);
856
-
857
- 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.');
858
+ }
859
}
860
};
861
} catch (error) {
0 commit comments