recent_topics: Replace deprecated jQuery event trigger shorthand.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-05-19 17:35:29 -07:00
committed by Tim Abbott
parent b741e758f0
commit 7c38a0c1f0

View File

@@ -676,7 +676,7 @@ export function hide() {
// remains on search box even after it is hidden. We // remains on search box even after it is hidden. We
// forcefully blur it so that focus returns to the visible // forcefully blur it so that focus returns to the visible
// focused element. // focused element.
$("#recent_topics_search").blur(); $("#recent_topics_search").trigger("blur");
$("#message_view_header_underpadding").show(); $("#message_view_header_underpadding").show();
$(".header").css("padding-bottom", "10px"); $(".header").css("padding-bottom", "10px");