fallback for IE11

This commit is contained in:
Bruno Windels 2020-10-31 00:25:42 +01:00
parent 8507a3eb16
commit 4d08e415bd

View File

@ -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();
}
}