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:
Aman Agrawal 2023-10-03 11:44:45 +00:00 committed by Tim Abbott
parent aae09ed6b7
commit 8970786048
1 changed files with 0 additions and 5 deletions

View File

@ -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();
},
});
}