mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 14:47:12 -04:00
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:
parent
f0d7314837
commit
618082c35e
4 changed files with 18 additions and 159 deletions
|
@ -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();
|
||||
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue