mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-14 11:06:55 -04:00
Merge e31b9fd1bd
into 6055fa9cec
This commit is contained in:
commit
5fd5785fe5
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ var chat = (function()
|
||||||
send: function()
|
send: function()
|
||||||
{
|
{
|
||||||
var text = $("#chatinput").val();
|
var text = $("#chatinput").val();
|
||||||
if(text.trim().length == 0)
|
if(text.replace(/\s+/,'').length == 0)
|
||||||
return;
|
return;
|
||||||
this._pad.collabClient.sendMessage({"type": "CHAT_MESSAGE", "text": text});
|
this._pad.collabClient.sendMessage({"type": "CHAT_MESSAGE", "text": text});
|
||||||
$("#chatinput").val("");
|
$("#chatinput").val("");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue