1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-27 21:05:53 +00:00

handle null

This commit is contained in:
Th3Dilli 2025-06-19 02:27:15 +02:00
parent b3efaf7041
commit 2642716f24
No known key found for this signature in database
GPG key ID: 7130A139E74B6905

View file

@ -426,7 +426,7 @@ export default class Input extends Module {
const el = this.fine.getHostNode(inst);
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 )
return;