Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
resize: Use the right method to get `display` value.
Aman Agrawal2b84c7477221
diff --git a/web/src/resize.ts b/web/src/resize.tsindex 306db49c008..3857d8eb27c 100644--- a/web/src/resize.ts+++ b/web/src/resize.ts@@ -18,7 +18,7 @@ export function get_stream_filters_max_height(): number {const GAP = 15;const $left_sidebar_search = $("#left-sidebar-search");- const is_search_visible = $left_sidebar_search.attr("display") !== "none";+ const is_search_visible = $left_sidebar_search.css("display") !== "none";let stream_filters_max_height =viewport_height -