mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-06 01:43:48 +00:00
Fix canceling file selector on Windows Edge sometimes blocks UI (#257)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user