mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
js: Prefix jQuery object variable names with $.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -93,12 +93,12 @@ export class UserSearch {
|
||||
}
|
||||
|
||||
expand_column() {
|
||||
const column = this.$input.closest(".app-main [class^='column-']");
|
||||
if (!column.hasClass("expanded")) {
|
||||
const $column = this.$input.closest(".app-main [class^='column-']");
|
||||
if (!$column.hasClass("expanded")) {
|
||||
popovers.hide_all();
|
||||
if (column.hasClass("column-left")) {
|
||||
if ($column.hasClass("column-left")) {
|
||||
stream_popover.show_streamlist_sidebar();
|
||||
} else if (column.hasClass("column-right")) {
|
||||
} else if ($column.hasClass("column-right")) {
|
||||
popovers.show_userlist_sidebar();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user