mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Chat: Don't rely on global pad
variable
This commit is contained in:
parent
d5583559c0
commit
2dfb1c494b
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ exports.chat = (() => {
|
|||
},
|
||||
// Make chat stick to right hand side of screen
|
||||
stickToScreen(fromInitialCall) {
|
||||
if (pad.settings.hideChat) {
|
||||
if (this._pad.settings.hideChat) {
|
||||
return;
|
||||
}
|
||||
this.show();
|
||||
|
|
Loading…
Reference in a new issue