Don't do second-stage fading if the compose box was closed in between.

(imported from commit 4c8ad3befe845db9a640e73925bd0928d6943178)
This commit is contained in:
Tim Abbott 2013-11-05 17:45:44 -05:00
parent 312e3013af
commit 66cb29e60e
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ function _fade_messages() {
var all_elts = rows.get_table(current_msg_list.table_name).find(".recipient_row, .message_row");
if (current_msg_list !== expected_msg_list ||
!compose.composing() ||
compose.recipient() !== expected_recipient) {
return;
}