dont restore state with unixy url
All checks were successful
/ mirror_to_github (push) Successful in 45s
/ test (push) Successful in 8s

This commit is contained in:
Leon van Kammen 2025-04-08 15:49:07 +02:00
parent 175b70953e
commit b7b922815b

View file

@ -51,7 +51,7 @@ if( typeof emulator != 'undefined' ){
}catch(e){}
return confirm('continue last session?')
}
if( stateBase64 && !err && askConfirm() ){
if( stateBase64 && !err && document.location.hash.length < 2 && askConfirm() ){
this.noboot = true // see feat/boot.js
try{
await this.worker.restore_state()