From f6df6969526b103da56e5a9387f7f698b07091e3 Mon Sep 17 00:00:00 2001 From: Julian Hochstetter Date: Wed, 6 Apr 2016 12:03:27 +0200 Subject: [PATCH] Remove wrong event bindings --- src/directives/ng-file-drop.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/directives/ng-file-drop.ts b/src/directives/ng-file-drop.ts index 98c9fe4f..1e664df0 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;