portico header: Delete bogus change handler.

Its selector looks like it’s missing a ‘.’, but “fixing” it breaks the
page even more, and trying to decipher this mess of event handlers
that poorly replicate what should be native behavior is making my
brain hurt.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-05-06 14:22:11 -07:00 committed by Tim Abbott
parent 0a30bb9ee8
commit 0315c22c97
1 changed files with 0 additions and 5 deletions

View File

@ -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") {