mirror of
https://github.com/gchq/CyberChef
synced 2025-01-12 04:28:53 +00:00
fix: prevent input file pane from showing after pasting text
This commit is contained in:
parent
c33d2c155a
commit
f758e5ea80
1 changed files with 1 additions and 1 deletions
|
@ -929,7 +929,7 @@ class InputWaiter {
|
|||
* @param {event} e
|
||||
*/
|
||||
afterPaste(e) {
|
||||
if (e.target.files) {
|
||||
if (e.target.files.length > 0) {
|
||||
this.loadUIFiles(e.target.files);
|
||||
}
|
||||
// If EOL has been fixed, skip this.
|
||||
|
|
Loading…
Reference in a new issue