diff --git a/packages/client/src/components/MkDialog.vue b/packages/client/src/components/MkDialog.vue index 708db22ef..de9cbe810 100644 --- a/packages/client/src/components/MkDialog.vue +++ b/packages/client/src/components/MkDialog.vue @@ -13,7 +13,7 @@
-
+
diff --git a/packages/client/src/os.ts b/packages/client/src/os.ts index ae2fc23a2..ae78a73a4 100644 --- a/packages/client/src/os.ts +++ b/packages/client/src/os.ts @@ -715,9 +715,7 @@ export async function openEmojiPicker( for (const node of Array.from(record.addedNodes).filter( (node) => node instanceof HTMLElement, ) as HTMLElement[]) { - const textareas = node.querySelectorAll( - "textarea, input", - ) as NodeListOf>; + const textareas = node.querySelectorAll("textarea, input"); for (const textarea of Array.from(textareas).filter( (textarea) => textarea.dataset.preventEmojiInsert == null, )) {