From 4a9069189fc61880017ef7ce22a29da031f3abe7 Mon Sep 17 00:00:00 2001 From: Simon Grim Date: Wed, 29 Jul 2015 19:53:20 +0500 Subject: [PATCH] delete modal closing after post sending, no reason to do it --- js/interface_common.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/interface_common.js b/js/interface_common.js index 6946899..ee8e95f 100644 --- a/js/interface_common.js +++ b/js/interface_common.js @@ -1278,9 +1278,7 @@ function postSubmit(e, oldLastPostId) { var remainingCount = tweetForm.find('.post-area-remaining'); remainingCount.text(140); - if ($this.parents('.modal-wrapper').length) - closeModal(); - else if ($this.parents('.prompt-wrapper').length) + if ($this.parents('.prompt-wrapper').length) closeModalHandler('.prompt-wrapper'); if ($this.closest('.post-area,.post-reply-content')) {