Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohndoh <roundcube@tehinterweb.co.uk>2021-07-14 14:05:58 +0300
committerGitHub <noreply@github.com>2021-07-14 14:05:58 +0300
commit7aa4b94461f6265aaa7821429e0d8c588548d19a (patch)
treee9d46b093236dc885bedccf66572425fb8735b4b /program/js
parent23430eb2b95c9ea7c5cb58ca89f5a5339f4b3d6e (diff)
Fix Firefox infinate loading display on mail screen #8128 (#8129)
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index a3601061b..2b3b95fc5 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -10131,7 +10131,10 @@ function rcube_webmail()
})
.on('load error', function(e) {
ref.env.browser_capabilities.pdf = e.type == 'load' ? 1 : 0;
- $(this).remove();
+
+ // add a short delay before attempting to remove element (#8128)
+ var obj = this;
+ window.setTimeout(function() { $(obj).remove(); }, 10);
})
.appendTo(document.body);
}, 10);