Skip to content

Commit a8bfada

Browse files
implemented nervgh#357
1 parent f1310b2 commit a8bfada

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

dist/angular-file-upload.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,7 +1611,7 @@ return /******/ (function(modules) { // webpackBootstrap
16111611

16121612
if (!this.uploader.isHTML5) this.destroy();
16131613
this.uploader.addToQueue(files, options, filters);
1614-
if (this.isEmptyAfterSelection()) {
1614+
if (this.isEmptyAfterSelection() || options && options.clearInputAfterAddedToQueue) {
16151615
this.element.prop("value", null);
16161616
this.element.replaceWith(this.element = this.element.clone(true)); // IE fix
16171617
}
@@ -1995,5 +1995,4 @@ return /******/ (function(modules) { // webpackBootstrap
19951995
/***/ }
19961996
/******/ ])
19971997
});
1998-
;
1999-
//# sourceMappingURL=angular-file-upload.js.map
1998+
;

0 commit comments

Comments
 (0)