From 4d08e415bdb587a8ac07555d46083fd053dcbe1b Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Sat, 31 Oct 2020 00:25:42 +0100 Subject: [PATCH] fallback for IE11 --- src/platform/web/ui/session/room/LightboxView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/web/ui/session/room/LightboxView.js b/src/platform/web/ui/session/room/LightboxView.js index 27151617..16d5666f 100644 --- a/src/platform/web/ui/session/room/LightboxView.js +++ b/src/platform/web/ui/session/room/LightboxView.js @@ -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(); } }