filter_input: Add explicit classname for filter clear button.

This commit adds an explicit "input-close-filter-button" classname to
the filter input clear button, improving the readability of the code.
This commit is contained in:
Sayam Samal
2025-07-21 22:50:31 +05:30
committed by Tim Abbott
parent d02cafce52
commit 122d93d430
7 changed files with 17 additions and 9 deletions

View File

@@ -1063,7 +1063,7 @@ export function set_event_handlers({
e.preventDefault();
if (
e.target.id === "streams_inline_icon" ||
$(e.target).parent().hasClass("input-button")
$(e.target).parent().hasClass("input-close-filter-button")
) {
return;
}