fix: boot options mess up under slow connection

This commit is contained in:
Bao Nguyen
2023-02-13 19:44:48 +07:00
parent 27170afcac
commit 92aaf5c2f6

View File

@@ -52,7 +52,11 @@
} }
} }
let selected = false;
function boot(){ function boot(){
if(selected) return;
selected = true;
if(current_option == 0){ if(current_option == 0){
utils.set_installing_windows(false); utils.set_installing_windows(false);
dispatcher('load_page', {url: './xp/starting.svelte'}); dispatcher('load_page', {url: './xp/starting.svelte'});