mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-12 02:01:31 -04:00
chat: New hide
method to completely hide chat
This commit is contained in:
parent
8ae5f25075
commit
1cbba4ea3a
2 changed files with 10 additions and 4 deletions
|
@ -100,6 +100,14 @@ exports.chat = (() => {
|
|||
$('#chatbox').removeClass('visible');
|
||||
}
|
||||
},
|
||||
minimize() {
|
||||
if ($('#options-stickychat').prop('checked')) this.reduce();
|
||||
this.reduce();
|
||||
},
|
||||
hide() {
|
||||
this.minimize();
|
||||
$('#chaticon').hide();
|
||||
},
|
||||
scrollDown(force) {
|
||||
if ($('#chatbox').hasClass('visible')) {
|
||||
if (force || !this.lastMessage || !this.lastMessage.position() ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue