From 66cb29e60e7786f7e6dfaf87f2d23615a151bb03 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 5 Nov 2013 17:45:44 -0500 Subject: [PATCH] Don't do second-stage fading if the compose box was closed in between. (imported from commit 4c8ad3befe845db9a640e73925bd0928d6943178) --- static/js/compose_fade.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/compose_fade.js b/static/js/compose_fade.js index f06df1ff30..a0520a8aed 100644 --- a/static/js/compose_fade.js +++ b/static/js/compose_fade.js @@ -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; }