mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user