mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-03-13 05:51:03 +00:00
delete modal closing after post sending, no reason to do it
This commit is contained in:
parent
c3e1f03c00
commit
4a9069189f
@ -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')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user