click_handlers: Remove dead .trigger-natural-click handler.

It’s been unused since its introduction in commit
49f7f02a0a (#25667).

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2024-12-10 22:28:00 -08:00
committed by Tim Abbott
parent e2d56db2a3
commit cb3cf7ec4a

View File

@@ -888,10 +888,4 @@ export function initialize() {
$(".settings-header.mobile .fa-chevron-left").on("click", () => {
settings_panel_menu.mobile_deactivate_section();
});
$("body").on("click", ".trigger-natural-click", (e) => {
// Jquery prevents default action on anchor for `trigger("click")`
// so we need to use click on element to trigger the default action.
e.currentTarget.click();
});
}