Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

resize: Adjust left_side_userlist sizes when showing sidebar.

Tim Abbott9074a164e6cd
diff --git a/static/js/stream_popover.js b/static/js/stream_popover.js
index 0dd32ecfe12..d1c1b0dd9f9 100644
--- a/static/js/stream_popover.js
+++ b/static/js/stream_popover.js
@@ -26,6 +26,7 @@ import * as message_edit from "./message_edit";
import * as muted_topics_ui from "./muted_topics_ui";
import {page_params} from "./page_params";
import * as popovers from "./popovers";
+import * as resize from "./resize";
import * as settings_data from "./settings_data";
import * as starred_messages from "./starred_messages";
import * as starred_messages_ui from "./starred_messages_ui";
@@ -169,6 +170,10 @@ export function hide_drafts_popover() {
export function show_streamlist_sidebar() {
$(".app-main .column-left").addClass("expanded");
+
+ // Redo the calculation for how large the sidebar is; this is
+ // important for the left_side_userlist setting.
+ resize.resize_stream_filters_container();
}
export function hide_streamlist_sidebar() {