js: Prefix jQuery object variable names with $.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-01-25 02:36:19 -08:00
parent f21842e920
commit f84a2c08d5
195 changed files with 4883 additions and 4835 deletions

View File

@@ -60,8 +60,8 @@ export function toggle_org_setting_collapse() {
}
// If current tab is about to be collapsed, go to default tab.
const current_tab = $(".org-settings-list .active");
if (current_tab.hasClass("hide-org-settings")) {
const $current_tab = $(".org-settings-list .active");
if ($current_tab.hasClass("hide-org-settings")) {
$(location).attr("href", "/#organization/organization-profile");
}
}