diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index 08075e531..1ed23b3ff 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -33,7 +33,7 @@ -
+
@@ -41,16 +41,16 @@

- +

- +
-
+
{{ i18n.t('translatedFrom', { x: translation.sourceLang }) }}:
@@ -264,6 +264,14 @@ function focusAfter() { focusNext(el.value); } +function noteClick(e) { + if (document.getSelection().type === 'Range') { + e.stopPropagation(); + } else { + router.push(notePage(appearNote)) + } +} + function readPromo() { os.api('promo/read', { noteId: appearNote.id, diff --git a/packages/client/src/components/MkNoteDetailed.vue b/packages/client/src/components/MkNoteDetailed.vue index f29129f87..03e9e728b 100644 --- a/packages/client/src/components/MkNoteDetailed.vue +++ b/packages/client/src/components/MkNoteDetailed.vue @@ -9,8 +9,8 @@ :tabindex="!isDeleted ? '-1' : null" :class="{ renote: isRenote }" > - - + +
@@ -29,7 +29,7 @@
-
+
@@ -99,7 +99,7 @@
- +
@@ -113,7 +113,7 @@