buddy_list: Rename list element to not be named container.

This was confusing because there are other elements named
e.g. "#buddy-list-users-matching-view-container", which are
distinct from "#buddy-list-users-matching-view", and the
elements with the latter id should not be named with container
in the variable name.
This commit is contained in:
evykassirer
2024-09-17 23:28:12 -07:00
committed by Tim Abbott
parent bc835d78a6
commit cd5a61eb52
4 changed files with 25 additions and 25 deletions

View File

@@ -127,8 +127,8 @@ export function build_user_sidebar(): number[] | undefined {
buddy_list.populate({all_user_ids});
render_empty_user_list_message_if_needed(buddy_list.$users_matching_view_container);
render_empty_user_list_message_if_needed(buddy_list.$other_users_container);
render_empty_user_list_message_if_needed(buddy_list.$users_matching_view_list);
render_empty_user_list_message_if_needed(buddy_list.$other_users_list);
return all_user_ids; // for testing
}