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.

common_click_handlers: Remove redundant statement.

sanchi-ta2ef0c618555
diff --git a/web/src/left_sidebar_navigation_area_popovers.ts b/web/src/left_sidebar_navigation_area_popovers.ts
index 995dbd0738b..b6cf2d37873 100644
--- a/web/src/left_sidebar_navigation_area_popovers.ts
+++ b/web/src/left_sidebar_navigation_area_popovers.ts
@@ -24,7 +24,6 @@ import {user_settings} from "./user_settings.ts";
function common_click_handlers(): void {
$("body").on("click", ".set-home-view", (e) => {
e.preventDefault();
- e.preventDefault();
const web_home_view = $(e.currentTarget).attr("data-view-code");
const data = {web_home_view};