chore: format

This commit is contained in:
naskya 2024-04-18 05:22:54 +09:00
parent bce88ec199
commit ff08d044b5
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C
2 changed files with 7 additions and 3 deletions

View file

@ -841,7 +841,9 @@ export async function openEmojiPicker(
activeTextarea = initialTextarea;
const textareas = document.querySelectorAll<HTMLTextAreaElement | HTMLInputElement>("textarea, input");
const textareas = document.querySelectorAll<
HTMLTextAreaElement | HTMLInputElement
>("textarea, input");
for (const textarea of Array.from(textareas)) {
textarea.addEventListener("focus", () => {
activeTextarea = textarea;
@ -853,7 +855,9 @@ export async function openEmojiPicker(
for (const node of Array.from(record.addedNodes).filter(
(node) => node instanceof HTMLElement,
) as HTMLElement[]) {
const textareas = node.querySelectorAll<HTMLTextAreaElement | HTMLInputElement>("textarea, input");
const textareas = node.querySelectorAll<
HTMLTextAreaElement | HTMLInputElement
>("textarea, input");
for (const textarea of Array.from(textareas).filter(
(textarea) => textarea.dataset.preventEmojiInsert == null,
)) {