Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

recent_topics: Replace deprecated jQuery event trigger shorthand.

Anders Kaseorg7c38a0c1f0cf
diff --git a/static/js/recent_topics.js b/static/js/recent_topics.js
index 550142bef9f..630aa8b2014 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");