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.

portico header: Delete bogus change handler.

Anders Kaseorg0315c22c973a
diff --git a/web/src/portico/header.ts b/web/src/portico/header.ts
index 58f42f08eea..a933866baff 100644
--- a/web/src/portico/header.ts
+++ b/web/src/portico/header.ts
@@ -73,11 +73,6 @@ $(() => {
on_tab_menu_selection_change();
});
- $("body").on("change", "top-menu-tab-input", (e) => {
- $("#top-menu-tab-close").prop("checked", true);
- on_tab_menu_selection_change(e);
- });
-
// Helps make the keyboard navigation work.
$("body").on("keydown", ".nav-menu-label, .top-menu-tab-label-unselect", (e) => {
if (e.key === "Enter") {