Browse Source

delete modal closing after post sending, no reason to do it

master
Simon Grim 10 years ago
parent
commit
4a9069189f
  1. 4
      js/interface_common.js

4
js/interface_common.js

@ -1278,9 +1278,7 @@ function postSubmit(e, oldLastPostId) { @@ -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…
Cancel
Save