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.

user_group_popover: Avoid jQuery sizzle extension :visible.

Anders Kaseorg4814898ccfcc
diff --git a/web/src/user_group_popover.ts b/web/src/user_group_popover.ts
index ac8e8d9e875..74d9343ab9a 100644
--- a/web/src/user_group_popover.ts
+++ b/web/src/user_group_popover.ts
@@ -46,8 +46,7 @@ function get_user_group_popover_items(): JQuery | undefined {
return undefined;
}
- // eslint-disable-next-line no-jquery/no-sizzle
- return $("li:not(.divider):visible a", $popover);
+ return $("li:not(.divider) a", $popover);
}
export function handle_keyboard(key: string): void {