diff --git a/static/js/popovers.js b/static/js/popovers.js index f6b782d76e..7e136b85cf 100644 --- a/static/js/popovers.js +++ b/static/js/popovers.js @@ -1095,7 +1095,7 @@ exports.hide_all_except_sidebars = function () { // or narrow window sidebars. exports.hide_all = function () { popovers.hide_userlist_sidebar(); - stream_popover.restore_stream_list_size(); + stream_popover.hide_streamlist_sidebar(); popovers.hide_all_except_sidebars(); }; diff --git a/static/js/stream_popover.js b/static/js/stream_popover.js index 75021d2453..f3f39a90f7 100644 --- a/static/js/stream_popover.js +++ b/static/js/stream_popover.js @@ -61,7 +61,7 @@ exports.show_streamlist_sidebar = function () { resize.resize_page_components(); }; -exports.restore_stream_list_size = function () { +exports.hide_streamlist_sidebar = function () { $(".app-main .column-left").removeClass("expanded"); };