mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-23 00:06:18 -04:00
Fix canceling file selector on Windows Edge sometimes blocks UI (#257)
This commit is contained in:
parent
c33d49702e
commit
6d95f3f4e2
1 changed files with 2 additions and 0 deletions
|
@ -675,6 +675,8 @@ class PeerUI {
|
|||
const $input = e.target;
|
||||
const files = $input.files;
|
||||
|
||||
if (files.length === 0) return;
|
||||
|
||||
Events.fire('files-selected', {
|
||||
files: files,
|
||||
to: this._peer.id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue