Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

lightbox: Use single keydown handler for toggling overlay.

Sahil Batra6ab670bdeea9
diff --git a/web/src/lightbox.ts b/web/src/lightbox.ts
index aeeea88239d..9c2750801d7 100644
--- a/web/src/lightbox.ts
+++ b/web/src/lightbox.ts
@@ -106,9 +106,6 @@ export class PanZoomControl {
case "-":
this.zoomOut();
break;
- case "v":
- overlays.close_overlay("lightbox");
- break;
}
e.preventDefault();
e.stopPropagation();