This commit is contained in:
Astrid 2023-09-15 13:49:57 +02:00
parent 978b1023d1
commit 43936a6662
2 changed files with 2 additions and 1 deletions

View File

@ -1063,6 +1063,8 @@ const UI = {
UI.rfb.showDotCursor = UI.getSetting('show_dot');
UI.updateViewOnly(); // requires UI.rfb
history.replaceState(null, "", window.location.pathname.substring(1));
},
disconnect() {

View File

@ -36,7 +36,6 @@ export function getQueryVar(name, defVal) {
if (typeof defVal === 'undefined') { defVal = null; }
if (match) {
history.replaceState(null, "", window.location.pathname.slice(1, 1));
return decodeURIComponent(match[1]);
}