Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 13b0ff3c6bd3d68993481e97ddd55c6611d16056 1 parent e969ec3
@tarnfeld authored
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();
});
Please sign in to comment.
Something went wrong with that request. Please try again.