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:
Tim Abbott 2019-07-09 16:56:25 -07:00
parent 01bc4674e3
commit f5b1081c93
2 changed files with 2 additions and 2 deletions

View File

@ -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();
}; };

View File

@ -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");
}; };