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: Remove dead recent_view code.

Karl Stolley0980919876ee
diff --git a/web/src/resize.ts b/web/src/resize.ts
index 2cd8ae96b3b..088ea776b30 100644
--- a/web/src/resize.ts
+++ b/web/src/resize.ts
@@ -191,8 +191,6 @@ export function resize_sidebars(): void {
export function update_recent_view(): void {
const $recent_view_filter_container = $("#recent_view_filter_buttons");
- const recent_view_filters_height = $recent_view_filter_container.outerHeight(true) ?? 0;
- $(":root").css("--recent-topics-filters-height", `${recent_view_filters_height}px`);
// Update max avatars to prevent participant avatars from overflowing.
// These numbers are just based on speculation.