diff --git a/src/directives/ng-file-drop.ts b/src/directives/ng-file-drop.ts index b7ddaa8d..865ed1b4 100644 --- a/src/directives/ng-file-drop.ts +++ b/src/directives/ng-file-drop.ts @@ -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;