diff options
Diffstat (limited to 'src/static/js/chat.js')
-rw-r--r-- | src/static/js/chat.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/static/js/chat.js b/src/static/js/chat.js index 65fc8dd9..76444690 100644 --- a/src/static/js/chat.js +++ b/src/static/js/chat.js @@ -79,6 +79,10 @@ var chat = (function() this._pad.collabClient.sendMessage({"type": "CHAT_MESSAGE", "text": text}); $("#chatinput").val(""); }, + clearChatMessages: function() + { + $('#chattext p').remove(); + }, addMessage: function(msg, increment, isHistoryAdd) { //correct the time |