mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
js: Replace deprecated jQuery event trigger shorthand.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
4e42137bd9
commit
a9ca5f603b
@@ -569,7 +569,7 @@ exports.clear_search = function (e) {
|
||||
return;
|
||||
}
|
||||
filter.val("");
|
||||
filter.blur();
|
||||
filter.trigger("blur");
|
||||
update_streams_for_search();
|
||||
};
|
||||
|
||||
@@ -592,7 +592,7 @@ exports.initiate_search = function () {
|
||||
popovers.hide_all();
|
||||
stream_popover.show_streamlist_sidebar();
|
||||
}
|
||||
filter.focus();
|
||||
filter.trigger("focus");
|
||||
|
||||
exports.stream_cursor.reset();
|
||||
};
|
||||
@@ -604,7 +604,7 @@ exports.clear_and_hide_search = function () {
|
||||
update_streams_for_search();
|
||||
}
|
||||
exports.stream_cursor.clear();
|
||||
filter.blur();
|
||||
filter.trigger("blur");
|
||||
|
||||
exports.hide_search_section();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user