mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-07 23:00:54 +00:00
handle null
This commit is contained in:
parent
b3efaf7041
commit
2642716f24
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ export default class Input extends Module {
|
||||||
|
|
||||||
const el = this.fine.getHostNode(inst);
|
const el = this.fine.getHostNode(inst);
|
||||||
const above = this.chat.context.get('chat.actions.room-above');
|
const above = this.chat.context.get('chat.actions.room-above');
|
||||||
const target = above && el ? el : el.querySelector('.chat-input__textarea');
|
const target = above ? el : el && el.querySelector('.chat-input__textarea');
|
||||||
if ( ! target )
|
if ( ! target )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue