mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-13 00:18:15 +00:00
add hide post preview in directMsgSubmit() too
This commit is contained in:
parent
b3a281a693
commit
27256788ed
@ -94,6 +94,8 @@ function directMsgSubmit(e) {
|
|||||||
|
|
||||||
var replyText = $(this).closest('.post-area-new').find('textarea');
|
var replyText = $(this).closest('.post-area-new').find('textarea');
|
||||||
|
|
||||||
|
replyText.siblings('#post-preview').hide();
|
||||||
|
|
||||||
newDirectMsg(replyText.val(), $('.directMessages').attr('data-dm-screen-name'));
|
newDirectMsg(replyText.val(), $('.directMessages').attr('data-dm-screen-name'));
|
||||||
|
|
||||||
replyText.val('');
|
replyText.val('');
|
||||||
|
Loading…
Reference in New Issue
Block a user