From b7b922815b68815d79299683421820edac480487 Mon Sep 17 00:00:00 2001 From: Leon van Kammen Date: Tue, 8 Apr 2025 15:49:07 +0200 Subject: [PATCH] dont restore state with unixy url --- com/isoterminal/feat/autorestore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com/isoterminal/feat/autorestore.js b/com/isoterminal/feat/autorestore.js index d00b8c6..61f0c1b 100644 --- a/com/isoterminal/feat/autorestore.js +++ b/com/isoterminal/feat/autorestore.js @@ -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()