fix: prevent input file pane from showing after pasting text

This commit is contained in:
Tobias Martine 2024-08-18 20:02:55 +02:00
parent c33d2c155a
commit f758e5ea80

View file

@ -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.