mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-13 08:27:51 +00:00
fix of traversing in directMsgSubmit
This commit is contained in:
parent
5c35807932
commit
021bbe2d43
@ -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'));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user