This commit is contained in:
the-djmaze 2022-05-19 10:58:04 +02:00
parent f12019d77a
commit 0ff571db14
10 changed files with 26 additions and 25 deletions

View file

@ -24,6 +24,7 @@ dropdownsDetectVisibility = (() =>
* @returns {boolean}
*/
download = (link, name = "") => {
console.log('download: '+link);
// Firefox 98 issue https://github.com/the-djmaze/snappymail/issues/301
if (ThemeStore.isMobile() || /firefox/i.test(navigator.userAgent)) {
open(link, '_blank');