mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
fallback for IE11
This commit is contained in:
parent
8507a3eb16
commit
4d08e415bd
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user