Skip to content

Commit 851ff10

Browse files
authored
Merge pull request #202 from OskarPersson/master
Add directory upload support to Firefox and Edge
2 parents adc8b80 + 75fe73e commit 851ff10

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/flow.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,11 @@
5757
* Check if directory upload is supported
5858
* @type {boolean}
5959
*/
60-
this.supportDirectory = /Chrome/.test(window.navigator.userAgent);
60+
this.supportDirectory = (
61+
/Chrome/.test(window.navigator.userAgent) ||
62+
/Firefox/.test(window.navigator.userAgent) ||
63+
/Edge/.test(window.navigator.userAgent)
64+
);
6165

6266
/**
6367
* List of FlowFile objects

0 commit comments

Comments
 (0)