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.

info_overlay: Remove dead code.

aryanshridhar9032d4340837
diff --git a/static/js/info_overlay.js b/static/js/info_overlay.js
index 9b220b196a4..ec6add35cca 100644
--- a/static/js/info_overlay.js
+++ b/static/js/info_overlay.js
@@ -9,7 +9,6 @@ import {$t, $t_html} from "./i18n";
import * as keydown_util from "./keydown_util";
import * as markdown from "./markdown";
import * as overlays from "./overlays";
-import * as popovers from "./popovers";
import * as rendered_markdown from "./rendered_markdown";
import * as ui from "./ui";
import * as util from "./util";
@@ -228,13 +227,3 @@ export function show(target) {
toggler.goto(target);
}
}
-
-export function maybe_show_keyboard_shortcuts() {
- if (overlays.is_active()) {
- return;
- }
- if (popovers.any_active()) {
- return;
- }
- show("keyboard-shortcuts");
-}