diff options
author | johndoh <roundcube@tehinterweb.co.uk> | 2021-07-14 14:05:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-14 14:05:58 +0300 |
commit | 7aa4b94461f6265aaa7821429e0d8c588548d19a (patch) | |
tree | e9d46b093236dc885bedccf66572425fb8735b4b /program/js | |
parent | 23430eb2b95c9ea7c5cb58ca89f5a5339f4b3d6e (diff) |
Fix Firefox infinate loading display on mail screen #8128 (#8129)
Diffstat (limited to 'program/js')
-rw-r--r-- | program/js/app.js | 5 |
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); |