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.

pm_list: Fix dm filter not cleared on zooming out.

Aman Agrawaldf126300b308
diff --git a/web/src/pm_list.ts b/web/src/pm_list.ts
index 197877a1464..9ed1683b030 100644
--- a/web/src/pm_list.ts
+++ b/web/src/pm_list.ts
@@ -237,6 +237,7 @@ function zoom_out(): void {
export function clear_search(): void {
const $filter = $(".direct-messages-list-filter").expectOne();
+ $filter.val("");
update_private_messages();
$filter.trigger("blur");
}