2
0
mirror of https://github.com/gchq/CyberChef synced 2026-01-01 16:13:46 +00:00

Make loadURIParams set input non-silently

Silent input changes might be overwritten due to the debounce logic present inside inputChange.
This commit is contained in:
zb3
2024-04-05 18:52:50 +02:00
parent fc40580dce
commit 1adc2ff930

View File

@@ -236,7 +236,7 @@ class App {
action: "setInput",
data: {
inputNum: inputNum,
silent: true
silent: false
}
});
}
@@ -541,7 +541,11 @@ class App {
}
this.autoBakePause = false;
window.dispatchEvent(this.manager.statechange);
// Dispatch stateChange only if not done by setInput
if (this.uriParams.input) {
window.dispatchEvent(this.manager.statechange);
}
}