From 7c38a0c1f0cf4926f61aa35bb42b87b2cad5f27c Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 19 May 2021 17:35:29 -0700 Subject: [PATCH] recent_topics: Replace deprecated jQuery event trigger shorthand. Signed-off-by: Anders Kaseorg --- static/js/recent_topics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/recent_topics.js b/static/js/recent_topics.js index 550142bef9..630aa8b201 100644 --- a/static/js/recent_topics.js +++ b/static/js/recent_topics.js @@ -676,7 +676,7 @@ export function hide() { // remains on search box even after it is hidden. We // forcefully blur it so that focus returns to the visible // focused element. - $("#recent_topics_search").blur(); + $("#recent_topics_search").trigger("blur"); $("#message_view_header_underpadding").show(); $(".header").css("padding-bottom", "10px");