Merge branch 'ediri-patch-1' into development
This commit is contained in:
@@ -24,4 +24,4 @@ webpack.config.js
|
|||||||
|
|
||||||
# AoT generated files
|
# AoT generated files
|
||||||
factories
|
factories
|
||||||
/**/*.ngfactory.ts
|
/**/*.ngfactory.ts
|
||||||
@@ -51,8 +51,10 @@ export class FileDropDirective {
|
|||||||
|
|
||||||
@HostListener('dragleave', ['$event'])
|
@HostListener('dragleave', ['$event'])
|
||||||
public onDragLeave(event:any):any {
|
public onDragLeave(event:any):any {
|
||||||
if (event.currentTarget === (this as any).element[0]) {
|
if ((this as any).element) {
|
||||||
return;
|
if (event.currentTarget === (this as any).element[0]) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this._preventAndStop(event);
|
this._preventAndStop(event);
|
||||||
|
|||||||
Reference in New Issue
Block a user