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.

compose_banner: clear_all shouldn't remove simplebar.

Tim Abbott1514d651f421
diff --git a/web/src/compose_banner.ts b/web/src/compose_banner.ts
index 5f5b61e0afe..1e90ebe2691 100644
--- a/web/src/compose_banner.ts
+++ b/web/src/compose_banner.ts
@@ -110,7 +110,7 @@ export function clear_unmute_topic_notifications(): void {
}
export function clear_all(): void {
- $(`#compose_banners`).empty();
+ scroll_util.get_content_element($(`#compose_banners`)).empty();
}
export function show_error_message(