From 753c8c4f48d30221fb46546f8f2a1ddb45c25023 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sun, 2 Apr 2023 00:07:48 -0700 Subject: [PATCH] fix: dialogs not coming up --- packages/client/src/components/MkDialog.vue | 2 +- packages/client/src/os.ts | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) 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, )) {