Skip to content

Commit

Permalink
Update ng-file-select.directive.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoSaleiro authored and jkuri committed Jun 28, 2017
1 parent 704a51a commit 1f93b67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ngx-uploader/directives/ng-file-select.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export class NgFileSelectDirective implements OnInit, OnDestroy {
this.el.removeEventListener('change', this.fileListener, false);

if (this.uploadInput)
{
this.uploadInput.unsubscribe();
}
}

fileListener = () => {
Expand Down

0 comments on commit 1f93b67

Please sign in to comment.