mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Small change for #314 Something changed in Chrome 100?
This commit is contained in:
parent
48974d1b5a
commit
ff35397292
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ window.rl = {
|
|||
loadScript(url)
|
||||
.then(() => loadScript(url.replace('/libs.', `/${admin?'admin':'app'}.`)))
|
||||
.then(() => appData.PluginsLink ? loadScript(appData.PluginsLink) : Promise.resolve())
|
||||
.then(() => ('loading' !== doc.readyState) ? cb() : doc.addEventListener('DOMContentLoaded', cb))
|
||||
.then(() => ('complete' == doc.readyState) ? cb() : doc.addEventListener('DOMContentLoaded', cb))
|
||||
.catch(e => {
|
||||
showError(e.message);
|
||||
throw e;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue