mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 08:57:03 +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)
|
loadScript(url)
|
||||||
.then(() => loadScript(url.replace('/libs.', `/${admin?'admin':'app'}.`)))
|
.then(() => loadScript(url.replace('/libs.', `/${admin?'admin':'app'}.`)))
|
||||||
.then(() => appData.PluginsLink ? loadScript(appData.PluginsLink) : Promise.resolve())
|
.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 => {
|
.catch(e => {
|
||||||
showError(e.message);
|
showError(e.message);
|
||||||
throw e;
|
throw e;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue