Skip to content

Commit 70ef5cd

Browse files
committed
fix: assignDrop for iterative elements #169
1 parent d4923e8 commit 70ef5cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@
368368
* be selected (Chrome only).
369369
*/
370370
assignBrowse: function (domNodes, isDirectory, singleFile, attributes) {
371-
if (typeof domNodes.length === 'undefined') {
371+
if (domNodes instanceof Element) {
372372
domNodes = [domNodes];
373373
}
374374

0 commit comments

Comments
 (0)