mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Beginning of a show chat history function
This commit is contained in:
parent
bba9cd515b
commit
4b77dd8c7a
3 changed files with 20 additions and 2 deletions
|
@ -28,6 +28,13 @@ var chat = (function()
|
|||
});
|
||||
});
|
||||
},
|
||||
showHistory: function()
|
||||
{
|
||||
// this is a placeholder for the showHistory function
|
||||
// load the messages from the server
|
||||
// append them to the UI using addMessage
|
||||
self.scrollDown(); // scroll down to the bottom of the chat
|
||||
},
|
||||
hide: function ()
|
||||
{
|
||||
$("#chatcounter").text("0");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue