mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	stream list: Scroll to opened stream on zoom out from stream-more-topics.
Currently on zoom out from stream topics, scrollbar didn't scroll back to opened stream. Because call to scroll-to-stream func isn't called after all streams view is displayed. So wrong stream element is passed to func. Fix this by calling scroll-to-stream func after all-stream-list view is displayed.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							e9cf545ada
						
					
				
				
					commit
					00f9772ccc
				
			@@ -181,11 +181,11 @@ function zoom_in(options) {
 | 
			
		||||
function zoom_out(options) {
 | 
			
		||||
    popovers.hide_all();
 | 
			
		||||
    topic_list.zoom_out();
 | 
			
		||||
    exports.show_all_streams();
 | 
			
		||||
 | 
			
		||||
    if (options.stream_li) {
 | 
			
		||||
        exports.scroll_stream_into_view(options.stream_li);
 | 
			
		||||
    }
 | 
			
		||||
    exports.show_all_streams();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
exports.show_all_streams = function () {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user