stream_settings_ui: Add missing $ prefix to jQuery object variable.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-04-02 19:56:31 -07:00 committed by Anders Kaseorg
parent fbb42dd297
commit 1188a0f26d
1 changed files with 2 additions and 2 deletions

View File

@ -585,8 +585,8 @@ export function setup_page(callback) {
}); });
if (should_list_all_streams()) { if (should_list_all_streams()) {
const toggler_elem = toggler.get(); const $toggler_elem = toggler.get();
$("#streams_overlay_container .list-toggler-container").prepend(toggler_elem); $("#streams_overlay_container .list-toggler-container").prepend($toggler_elem);
} }
if (current_user.is_guest) { if (current_user.is_guest) {
toggler.disable_tab("all-streams"); toggler.disable_tab("all-streams");