mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-12 10:11:30 -04:00
chat: Rename hide
method to reduce
It doesn't hide: If sticky, it unsticks. Otherwise, it minimizes.
This commit is contained in:
parent
f7d7d89874
commit
b830ed9744
2 changed files with 4 additions and 4 deletions
|
@ -76,7 +76,7 @@ const getParameters = [
|
|||
callback: (val) => {
|
||||
if (val === 'false') {
|
||||
settings.hideChat = true;
|
||||
chat.hide();
|
||||
chat.reduce();
|
||||
$('#chaticon').hide();
|
||||
}
|
||||
},
|
||||
|
@ -480,7 +480,7 @@ const pad = {
|
|||
}
|
||||
|
||||
if (window.clientVars.readonly) {
|
||||
chat.hide();
|
||||
chat.reduce();
|
||||
$('#myusernameedit').attr('disabled', true);
|
||||
$('#chatinput').attr('disabled', true);
|
||||
$('#chaticon').hide();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue