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.

user_setting: Correct selector for channel input filter.

joseph89d29ae5690c
diff --git a/web/src/user_profile.ts b/web/src/user_profile.ts
index cd345604b6b..07645a1eee6 100644
--- a/web/src/user_profile.ts
+++ b/web/src/user_profile.ts
@@ -1250,7 +1250,7 @@ export function initialize(): void {
});
$("body").on("input", "#user-profile-streams-tab .stream-search", () => {
- const $input = $<HTMLInputElement>("input#user-profile-streams-tab .stream-search");
+ const $input = $<HTMLInputElement>("#user-profile-streams-tab input.stream-search");
if ($input.val()!.trim().length > 0) {
$("#user-profile-streams-tab #clear_stream_search").show();
$input.css("margin-right", "-20px");