Added a prompt to users to type in the box to start chatting and also a button to always enable chat.. @0ip will need to re-style this if it gets merged

This commit is contained in:
John McLear 2012-02-02 18:58:43 +00:00
parent f0d7314837
commit 618082c35e
4 changed files with 18 additions and 159 deletions

View file

@ -75,6 +75,7 @@ var chat = (function()
var text = $("#chatinput").val();
this._pad.collabClient.sendMessage({"type": "CHAT_MESSAGE", "text": text});
$("#chatinput").val("");
$('#chattextholder').hide();
},
addMessage: function(msg, increment)
{
@ -137,7 +138,7 @@ var chat = (function()
$('#chatthrob').effect("pulsate", {times:1,mode:"hide"},2000);
}
}
$('#chattextholder').hide();
self.scrollDown();
},