From 253ba164e54a3c25185fcdbb95f57dd987ef047d Mon Sep 17 00:00:00 2001 From: Freeplay Date: Fri, 28 Apr 2023 21:18:00 -0400 Subject: [PATCH] consistency + fix --- packages/client/src/components/MkModal.vue | 6 +++--- packages/client/src/components/MkModalWindow.vue | 5 +++-- packages/client/src/components/MkSubNoteContent.vue | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/packages/client/src/components/MkModal.vue b/packages/client/src/components/MkModal.vue index d1a96b4b7c..c41fb50c01 100644 --- a/packages/client/src/components/MkModal.vue +++ b/packages/client/src/components/MkModal.vue @@ -18,7 +18,7 @@ @enter="emit('opening')" @after-enter="onOpened" > - +
-
+ @@ -187,8 +187,8 @@ function close(opts: { useSendAnimation?: boolean } = {}) { function onBgClick() { if (contentClicking) return; - emit("click"); focusedElement.focus(); + emit("click"); } if (type === "drawer") { diff --git a/packages/client/src/components/MkModalWindow.vue b/packages/client/src/components/MkModalWindow.vue index 48028422e6..017bfae8cb 100644 --- a/packages/client/src/components/MkModalWindow.vue +++ b/packages/client/src/components/MkModalWindow.vue @@ -6,7 +6,7 @@ @keyup.esc="$emit('close')" @closed="$emit('closed')" > - +
-
+ diff --git a/packages/client/src/components/MkSubNoteContent.vue b/packages/client/src/components/MkSubNoteContent.vue index a20afc39bb..761334e1d0 100644 --- a/packages/client/src/components/MkSubNoteContent.vue +++ b/packages/client/src/components/MkSubNoteContent.vue @@ -101,7 +101,7 @@