mirror of https://github.com/zulip/zulip.git
popovers: Fix name for stream_popover.hide_streamlist_sidebar().
The previous name was super confusing; this function is analogous to hide_userlist_sidebar() and should be named appropriately for that role.
This commit is contained in:
parent
01bc4674e3
commit
f5b1081c93
|
@ -1095,7 +1095,7 @@ exports.hide_all_except_sidebars = function () {
|
||||||
// or narrow window sidebars.
|
// or narrow window sidebars.
|
||||||
exports.hide_all = function () {
|
exports.hide_all = function () {
|
||||||
popovers.hide_userlist_sidebar();
|
popovers.hide_userlist_sidebar();
|
||||||
stream_popover.restore_stream_list_size();
|
stream_popover.hide_streamlist_sidebar();
|
||||||
popovers.hide_all_except_sidebars();
|
popovers.hide_all_except_sidebars();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ exports.show_streamlist_sidebar = function () {
|
||||||
resize.resize_page_components();
|
resize.resize_page_components();
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.restore_stream_list_size = function () {
|
exports.hide_streamlist_sidebar = function () {
|
||||||
$(".app-main .column-left").removeClass("expanded");
|
$(".app-main .column-left").removeClass("expanded");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue