|
|
@ -704,10 +704,12 @@ function replyTextInput(event) { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (textArea[0].value.length) |
|
|
|
if ($.Options.postPreview.val) { |
|
|
|
textAreaForm.find('#post-preview').html(htmlFormatMsg(textArea[0].value, [])).show(); |
|
|
|
if (textArea[0].value.length) |
|
|
|
else |
|
|
|
textAreaForm.find('#post-preview').html(htmlFormatMsg(textArea[0].value, [])).show(); |
|
|
|
textAreaForm.find('#post-preview').html('').hide(); |
|
|
|
else |
|
|
|
|
|
|
|
textAreaForm.find('#post-preview').html('').hide(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function getPostSplitingPML() { |
|
|
|
function getPostSplitingPML() { |
|
|
@ -1276,9 +1278,7 @@ function postSubmit(e, oldLastPostId) { |
|
|
|
var remainingCount = tweetForm.find('.post-area-remaining'); |
|
|
|
var remainingCount = tweetForm.find('.post-area-remaining'); |
|
|
|
remainingCount.text(140); |
|
|
|
remainingCount.text(140); |
|
|
|
|
|
|
|
|
|
|
|
if ($this.parents('.modal-wrapper').length) |
|
|
|
if ($this.parents('.prompt-wrapper').length) |
|
|
|
closeModal(); |
|
|
|
|
|
|
|
else if ($this.parents('.prompt-wrapper').length) |
|
|
|
|
|
|
|
closeModalHandler('.prompt-wrapper'); |
|
|
|
closeModalHandler('.prompt-wrapper'); |
|
|
|
|
|
|
|
|
|
|
|
if ($this.closest('.post-area,.post-reply-content')) { |
|
|
|
if ($this.closest('.post-area,.post-reply-content')) { |
|
|
|