Chat: Don't rely on global pad variable

This commit is contained in:
Richard Hansen 2021-08-14 03:05:18 -04:00
parent d5583559c0
commit 2dfb1c494b

View file

@ -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();