Skip to content

Commit b2aa25a

Browse files
committed
Update built artifacts.
1 parent 3a7154b commit b2aa25a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

angular-file-upload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ module
344344
FileUploader.prototype._getFilters = function(filters) {
345345
if (angular.isUndefined(filters)) return this.filters;
346346
if (angular.isArray(filters)) return filters;
347-
var names = filters.split(/\s*,/);
347+
var names = filters.match(/[^\s,]+/g);
348348
return this.filters.filter(function(filter) {
349349
return names.indexOf(filter.name) !== -1;
350350
}, this);

0 commit comments

Comments
 (0)