popovers: Fix migration to popovers.hide_all_except_sidebars().

I'm not really sure how I missed this in the original commit.
This commit is contained in:
Tim Abbott 2019-07-09 23:03:41 -07:00
parent 78bb3f7ea1
commit 5c32e2ff49
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ const _pm_list = {
};
const _popovers = {
hide_all_except_userlist_sidebar: function () {},
hide_all_except_sidebars: function () {},
hide_all: function () {},
show_userlist_sidebar: function () {
$('.column-right').addClass('expanded');

View File

@ -213,7 +213,7 @@ exports.build_user_sidebar = function () {
function do_update_users_for_search() {
// Hide all the popovers but not userlist sidebar
// when the user is searching.
popovers.hide_all_except_userlist_sidebar();
popovers.hide_all_except_sidebars();
exports.build_user_sidebar();
exports.user_cursor.reset();
}

View File

@ -52,7 +52,7 @@ var user_search = function (opts) {
self.show_widget = function () {
// Hide all the popovers but not userlist sidebar
// when the user wants to search.
popovers.hide_all_except_userlist_sidebar();
popovers.hide_all_except_sidebars();
$widget.removeClass('notdisplayed');
};