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: Remove unnecessary type assertion.

Anders Kaseorg407655b84f86
diff --git a/web/src/portico/header.ts b/web/src/portico/header.ts
index e89c4c47620..a7f5a3f7c4a 100644
--- a/web/src/portico/header.ts
+++ b/web/src/portico/header.ts
@@ -59,7 +59,7 @@ $(() => {
$("#logout_form").trigger("submit");
});
- $(".top-menu-tab-input").on("click", function (this: HTMLElement) {
+ $(".top-menu-tab-input").on("click", function () {
on_tab_menu_selection_change(this);
});