When closing the compose box, hide it first for perceived speed

(imported from commit 598585365141681a5573ad4fe9905be34ac92dd6)
This commit is contained in:
Jeff Arnold 2013-11-26 18:14:02 -05:00
parent 22d0ee55f6
commit 56fb3dd877
1 changed files with 1 additions and 1 deletions

View File

@ -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) {