mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
tweak boot.js
This commit is contained in:
parent
8c9530fb41
commit
e00b4724ac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user