mirror of https://github.com/zulip/zulip.git
read_receipts: Remove unnecessary popovers.hide_all call.
Read receipts can either hide by clicking or pressing escape button. Since clicking already hides popovers and escape keypress call `popovers.hide_all` separately, we don't need to call it again.
This commit is contained in:
parent
aae09ed6b7
commit
8970786048
|
@ -10,7 +10,6 @@ import * as loading from "./loading";
|
|||
import * as message_store from "./message_store";
|
||||
import * as overlays from "./overlays";
|
||||
import * as people from "./people";
|
||||
import * as popovers from "./popovers";
|
||||
import * as ui_report from "./ui_report";
|
||||
|
||||
export function show_user_list(message_id) {
|
||||
|
@ -79,9 +78,5 @@ export function show_user_list(message_id) {
|
|||
});
|
||||
}
|
||||
},
|
||||
on_hide() {
|
||||
// Ensure any user info popovers are closed
|
||||
popovers.hide_all();
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue