mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Maintain scroll position when removing selected message
(imported from commit 1021eac527e677fbcac46d0a7d44dd3244bb903e)
This commit is contained in:
		
				
					committed by
					
						
						Jessica McKellar
					
				
			
			
				
	
			
			
			
						parent
						
							4a58241b17
						
					
				
				
					commit
					5aef8b8fad
				
			@@ -405,8 +405,7 @@ MessageList.prototype = {
 | 
			
		||||
            });
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        this.view.rerender_the_whole_thing();
 | 
			
		||||
        this.select_id(this.selected_id(), {use_closest: true, empty_ok: true});
 | 
			
		||||
        this.rerender();
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    show_edit_message: function MessageList_show_edit_message(row, edit_obj) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user