diff --git a/js/twister_directmsg.js b/js/twister_directmsg.js index f60f6aa..8748bf5 100644 --- a/js/twister_directmsg.js +++ b/js/twister_directmsg.js @@ -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('');