mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-29 02:53:52 +00:00 
			
		
		
		
	Only manually update fading if the compose box is staying open
(compose.start() and compose.cancel() both update the fading themselves) (imported from commit 63ce2f54106c8cce2306b0c1f3ce56e06f24235f)
This commit is contained in:
		| @@ -117,6 +117,9 @@ exports.activate = function (operators, opts) { | ||||
|     if (!had_message_content) { | ||||
|         compose.cancel(); | ||||
|     } | ||||
|     else { | ||||
|         compose_fade.update_message_list(); | ||||
|     } | ||||
|  | ||||
|     opts = _.defaults({}, opts, { | ||||
|         then_select_id: home_msg_list.selected_id(), | ||||
| @@ -273,8 +276,6 @@ exports.activate = function (operators, opts) { | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     compose_fade.update_message_list(); | ||||
|  | ||||
|     $(document).trigger($.Event('narrow_activated.zulip', {msg_list: narrowed_msg_list, | ||||
|                                                             filter: current_filter, | ||||
|                                                             trigger: opts.trigger})); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user