mirror of https://github.com/zulip/zulip.git
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:
parent
78bb3f7ea1
commit
5c32e2ff49
|
@ -39,7 +39,7 @@ const _pm_list = {
|
||||||
};
|
};
|
||||||
|
|
||||||
const _popovers = {
|
const _popovers = {
|
||||||
hide_all_except_userlist_sidebar: function () {},
|
hide_all_except_sidebars: function () {},
|
||||||
hide_all: function () {},
|
hide_all: function () {},
|
||||||
show_userlist_sidebar: function () {
|
show_userlist_sidebar: function () {
|
||||||
$('.column-right').addClass('expanded');
|
$('.column-right').addClass('expanded');
|
||||||
|
|
|
@ -213,7 +213,7 @@ exports.build_user_sidebar = function () {
|
||||||
function do_update_users_for_search() {
|
function do_update_users_for_search() {
|
||||||
// Hide all the popovers but not userlist sidebar
|
// Hide all the popovers but not userlist sidebar
|
||||||
// when the user is searching.
|
// when the user is searching.
|
||||||
popovers.hide_all_except_userlist_sidebar();
|
popovers.hide_all_except_sidebars();
|
||||||
exports.build_user_sidebar();
|
exports.build_user_sidebar();
|
||||||
exports.user_cursor.reset();
|
exports.user_cursor.reset();
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,7 +52,7 @@ var user_search = function (opts) {
|
||||||
self.show_widget = function () {
|
self.show_widget = function () {
|
||||||
// Hide all the popovers but not userlist sidebar
|
// Hide all the popovers but not userlist sidebar
|
||||||
// when the user wants to search.
|
// when the user wants to search.
|
||||||
popovers.hide_all_except_userlist_sidebar();
|
popovers.hide_all_except_sidebars();
|
||||||
$widget.removeClass('notdisplayed');
|
$widget.removeClass('notdisplayed');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue