mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	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:
		@@ -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();
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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");
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user