Permalink
Browse files

Changed .text() to .val() : Closes #1

  • Loading branch information...
tarnfeld committed Aug 14, 2011
1 parent e969ec3 commit 13b0ff3c6bd3d68993481e97ddd55c6611d16056
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/chat.js
View
2 js/chat.js 100755 → 100644
@@ -77,7 +77,7 @@ $(document).ready(function()
$.post("ajax/postMessage.php", { chatChannel:channel, "nickname":nickname, message:text }, function(data)
{
$("#messages").attr("scrollTop",$("#messages").attr("scrollHeight") - $('#messages').height());
- $('#message').text("");
+ $('#message').val("");
$('#message').attr("disabled","");
$('#message').focus();
});

0 comments on commit 13b0ff3

Please sign in to comment.