mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-12 16:07:59 +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');
|
||||
|
||||
replyText.siblings('#post-preview').hide();
|
||||
|
||||
newDirectMsg(replyText.val(), $('.directMessages').attr('data-dm-screen-name'));
|
||||
|
||||
replyText.val('');
|
||||
|
Loading…
Reference in New Issue
Block a user