mirror of
https://github.com/gchq/CyberChef
synced 2025-01-07 18:18:47 +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:
parent
fc40580dce
commit
1adc2ff930
1 changed files with 6 additions and 2 deletions
|
@ -236,7 +236,7 @@ class App {
|
||||||
action: "setInput",
|
action: "setInput",
|
||||||
data: {
|
data: {
|
||||||
inputNum: inputNum,
|
inputNum: inputNum,
|
||||||
silent: true
|
silent: false
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -541,8 +541,12 @@ class App {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.autoBakePause = false;
|
this.autoBakePause = false;
|
||||||
|
|
||||||
|
// Dispatch stateChange only if not done by setInput
|
||||||
|
if (this.uriParams.input) {
|
||||||
window.dispatchEvent(this.manager.statechange);
|
window.dispatchEvent(this.manager.statechange);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue