Skip to content

Commit 0e838b2

Browse files
committed
feat: supportDirectory detection added
1 parent 56db589 commit 0e838b2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/flow.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@
4747
return ;
4848
}
4949

50+
/**
51+
* Check if directory upload is supported
52+
* @type {boolean}
53+
*/
54+
this.supportDirectory = /WebKit/.test(window.navigator.userAgent);
55+
5056
/**
5157
* List of FlowFile objects
5258
* @type {Array.<FlowFile>}

0 commit comments

Comments
 (0)