client: extra safe chunk loading before notifying server
This commit is contained in:
parent
45dd19494f
commit
fa15187c2c
1 changed files with 5 additions and 0 deletions
|
|
@ -9,6 +9,11 @@ var loadDeps = (async()=>{
|
|||
notifications = (await import('../ui/notifications.mjs')).default
|
||||
locales = (await import('../locales/index.mjs')).default
|
||||
callbacks = (await import('./callbacks.mjs')).default
|
||||
|
||||
// wait for other js chunks too since we'll connect to the server once this provise resolves
|
||||
await import('../editor/context-menu.mjs')
|
||||
await import('../remote-control.mjs')
|
||||
await import('../ui/ui-keyboard.mjs')
|
||||
})()
|
||||
|
||||
var uuid, localUuid = ENV.id || cache.get('osc.uuid', false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue