Skip to content

Commit

Permalink
chore: fix universal prerender
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuri committed Feb 8, 2017
1 parent 61df13f commit 7bdb38d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ngx-uploader",
"description": "Angular File Uploader",
"version": "2.1.4",
"version": "2.1.6",
"license": "MIT",
"main": "index.js",
"typings": "index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/directives/ng-file-drop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,13 @@ export class NgFileDropDirective implements OnChanges, OnInit {
}

@HostListener('dragover', ['$event'])
public onDragOver(e: Event) {
public onDragOver(e: any) {
if (!e) { return; }
this.onFileOver.emit(true);
}

@HostListener('dragleave', ['$event'])
public onDragLeave(e: Event) {
public onDragLeave(e: any) {
if (!e) { return; }
this.onFileOver.emit(false);
}
Expand Down

0 comments on commit 7bdb38d

Please sign in to comment.