Browse Source

fix of traversing in directMsgSubmit

master
Simon Grim 10 years ago
parent
commit
021bbe2d43
  1. 2
      js/twister_directmsg.js

2
js/twister_directmsg.js

@ -94,7 +94,7 @@ function directMsgSubmit(e) { @@ -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…
Cancel
Save