Display selected group name

This commit is contained in:
SillyLossy
2023-03-19 01:05:39 +02:00
parent 971f1c40b7
commit 95ca39d8e0
2 changed files with 9 additions and 7 deletions

View File

@@ -486,7 +486,7 @@ function select_group_chats(chat_id) {
});
$("#rm_group_filter").val("").trigger("input");
selectRightMenuWithAnimation('rm_group_chats_block')
selectRightMenuWithAnimation('rm_group_chats_block');
async function memberClickHandler(event) {
event.stopPropagation();
@@ -578,8 +578,8 @@ function select_group_chats(chat_id) {
// top bar
if (group) {
$("#rm_button_selected_ch").children("h2").text("");
setRightTabSelectedClass();
$("#rm_button_selected_ch").children("h2").text(groupName);
setRightTabSelectedClass('rm_button_selected_ch');
}
}