We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 56106db + 6509901 commit ae77797Copy full SHA for ae77797
addon/uploaders/base.js
@@ -3,7 +3,6 @@ import Ember from 'ember';
3
const {
4
get,
5
set,
6
- isArray,
7
run
8
} = Ember;
9
@@ -88,7 +87,7 @@ export default Ember.Object.extend(Ember.Evented, {
88
87
}
89
90
// if is a array of files ...
91
- if (isArray(files)) {
+ if (files.constructor === FileList) {
92
const paramKey = `${this.toNamespacedParam(this.paramName)}[]`;
93
94
for (let i = 0; i < files.length; i++) {
0 commit comments