From 38ade38f3f98196b3efd4906b015cc64a2c9f62f 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 --- package.json | 2 +- packages/client/src/components/MkDialog.vue | 2 +- packages/client/src/os.ts | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 0cbc31e7cf..3fe277aea9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "13.2.0-dev22", + "version": "13.2.0-dev23", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/components/MkDialog.vue b/packages/client/src/components/MkDialog.vue index 708db22efe..de9cbe8101 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 ae2fc23a2d..ae78a73a4c 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, )) {