mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 07:46:16 -04:00
Scroll I/O areas to the top when switching tabs
This commit is contained in:
parent
b77239fc15
commit
39101610d5
2 changed files with 4 additions and 0 deletions
|
@ -348,6 +348,7 @@ class InputWaiter {
|
|||
|
||||
inputText.style.overflow = "auto";
|
||||
inputText.classList.remove("blur");
|
||||
inputText.scroll(0, 0);
|
||||
|
||||
const lines = inputData.input.length < (this.app.options.ioDisplayThreshold * 1024) ?
|
||||
inputData.input.count("\n") + 1 : null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue