Skip to content

Commit

Permalink
Merge pull request bleenco#24 from JulianH/master
Browse files Browse the repository at this point in the history
Remove wrong event binding
  • Loading branch information
jkuri authored Jul 29, 2016
2 parents 3f59776 + f6df696 commit ab22ac0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/directives/ng-file-drop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import {Ng2Uploader} from '../services/ng2-uploader';
@Directive({
selector: '[ng-file-drop]',
inputs: ['options: ng-file-drop'],
outputs: ['onUpload'],
host: { '(change)': 'onFiles()' }
outputs: ['onUpload']
})
export class NgFileDrop {
uploader: Ng2Uploader;
Expand Down

0 comments on commit ab22ac0

Please sign in to comment.