mirror of https://github.com/zulip/zulip.git
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:
parent
0a30bb9ee8
commit
0315c22c97
|
@ -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") {
|
||||
|
|
Loading…
Reference in New Issue