user_group_popover: Remove redundant call to popovers.hide_all.

`toggle_user_group_info_popover` is only called via a click.
This commit is contained in:
Aman Agrawal 2023-10-03 13:54:39 +00:00 committed by Tim Abbott
parent 97d85e3666
commit 4111c5dd12
1 changed files with 0 additions and 2 deletions

View File

@ -8,7 +8,6 @@ import {media_breakpoints_num} from "./css_variables";
import * as message_lists from "./message_lists"; import * as message_lists from "./message_lists";
import * as people from "./people"; import * as people from "./people";
import * as popover_menus from "./popover_menus"; import * as popover_menus from "./popover_menus";
import * as popovers from "./popovers";
import * as rows from "./rows"; import * as rows from "./rows";
import * as ui_util from "./ui_util"; import * as ui_util from "./ui_util";
import * as user_groups from "./user_groups"; import * as user_groups from "./user_groups";
@ -82,7 +81,6 @@ export function toggle_user_group_info_popover(element, message_id) {
], ],
}, },
onCreate(instance) { onCreate(instance) {
popovers.hide_all();
if (message_id) { if (message_id) {
message_lists.current.select_id(message_id); message_lists.current.select_id(message_id);
} }