fallback for IE11
This commit is contained in:
parent
8507a3eb16
commit
4d08e415bd
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ export class LightboxView extends TemplateView {
|
|||
}
|
||||
|
||||
closeOnEscKey(evt) {
|
||||
if (evt.key === "Escape") {
|
||||
if (evt.key === "Escape" || evt.key === "Esc") {
|
||||
this.value.close();
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue