diff --git a/twister_directmsg.js b/twister_directmsg.js index 14e22f8..434eb02 100644 --- a/twister_directmsg.js +++ b/twister_directmsg.js @@ -90,7 +90,7 @@ function directMsgSubmit(e) var $dmConversation = $(".directMessages"); - newDirectMsg($replyText.val(), dmConversation.attr("data-dm-screen-name")); + newDirectMsg($replyText.val(), $dmConversation.attr("data-dm-screen-name")); $replyText.val(""); }