| 930 | initCfg(); | 930 | initCfg(); |
| 931 | initLogprobs(); | 931 | initLogprobs(); |
| 932 | doDailyExtensionUpdatesCheck(); | 932 | doDailyExtensionUpdatesCheck(); |
| 933 | hideLoader(); | 933 | await hideLoader(); |
| | 934 | await fixViewport(); |
| 934 | await eventSource.emit(event_types.APP_READY); | 935 | await eventSource.emit(event_types.APP_READY); |
| 935 | } | 936 | } |
| 936 | | 937 | |
| | 938 | async function fixViewport() { |
| | 939 | document.body.style.position = 'absolute'; |
| | 940 | await delay(1); |
| | 941 | document.body.style.position = ''; |
| | 942 | } |
| | 943 | |
| 937 | function cancelStatusCheck() { | 944 | function cancelStatusCheck() { |
| 938 | abortStatusCheck?.abort(); | 945 | abortStatusCheck?.abort(); |
| 939 | abortStatusCheck = new AbortController(); | 946 | abortStatusCheck = new AbortController(); |