mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
js: Prefix jQuery object variable names with $.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user