Skip to content
Snippets Groups Projects
Commit f2e91f4d authored by syuilo's avatar syuilo
Browse files

tweak boot.js

parent 10f4815d
No related branches found
No related tags found
No related merge requests found
......@@ -56,12 +56,14 @@
//#endregion
//#region Script
import(`/assets/${CLIENT_ENTRY}`)
.catch(async e => {
await checkUpdate();
console.error(e);
renderError('APP_IMPORT', e);
})
window.addEventListener('DOMContentLoaded', () => {
import(`/assets/${CLIENT_ENTRY}`)
.catch(async e => {
await checkUpdate();
console.error(e);
renderError('APP_IMPORT', e);
});
});
//#endregion
//#region Theme
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment