remove tag name check

This commit is contained in:
pionnegru
2019-12-05 13:35:24 +02:00
parent 545f884d60
commit 4c840036be

View File

@@ -61,9 +61,7 @@ export class InfoDrawerComponent implements OnChanges, OnInit, OnDestroy {
@HostListener('keydown.escape', ['$event'])
onEscapeKeyboardEvent(event: KeyboardEvent): void {
if ((event.target as HTMLElement).tagName !== 'INPUT') {
this.close();
}
this.close();
}
constructor(