fix of traversing in directMsgSubmit

This commit is contained in:
Simon Grim 2015-05-26 01:53:34 +05:00
parent 5c35807932
commit 021bbe2d43

View File

@ -94,7 +94,7 @@ function directMsgSubmit(e) {
e.stopPropagation();
e.preventDefault();
var replyText = $(this).closest('.post-area-new textarea');
var replyText = $(this).closest('.post-area-new').find('textarea');
newDirectMsg(replyText.val(), $('.directMessages').attr('data-dm-screen-name'));