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.
1 parent 93c8cfc commit 3d3e9acCopy full SHA for 3d3e9ac
src/module.js
@@ -326,7 +326,7 @@ angular
326
* @private
327
*/
328
FileUploader.prototype._getFilters = function(filters) {
329
- if (angular.isUndefined(filters)) return this.filters;
+ if (!filters) return this.filters;
330
if (angular.isArray(filters)) return filters;
331
var names = filters.match(/[^\s,]+/g);
332
return this.filters.filter(function(filter) {
0 commit comments