mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	When closing the compose box, hide it first for perceived speed
(imported from commit 598585365141681a5573ad4fe9905be34ac92dd6)
This commit is contained in:
		@@ -246,10 +246,10 @@ function abort_xhr () {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
exports.cancel = function () {
 | 
			
		||||
    hide_box();
 | 
			
		||||
    $("#compose_close").hide();
 | 
			
		||||
    clear_box();
 | 
			
		||||
    notifications.clear_compose_notifications();
 | 
			
		||||
    hide_box();
 | 
			
		||||
    abort_xhr();
 | 
			
		||||
    is_composing_message = false;
 | 
			
		||||
    if (message_snapshot !== undefined) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user