diff --git a/packages/frontend/src/components/MkNoteSimple.vue b/packages/frontend/src/components/MkNoteSimple.vue
index c3f3c42b4..6a9b0cbc5 100644
--- a/packages/frontend/src/components/MkNoteSimple.vue
+++ b/packages/frontend/src/components/MkNoteSimple.vue
@@ -10,7 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
@@ -27,12 +27,20 @@ import * as Misskey from 'misskey-js';
import MkNoteHeader from '@/components/MkNoteHeader.vue';
import MkSubNoteContent from '@/components/MkSubNoteContent.vue';
import MkCwButton from '@/components/MkCwButton.vue';
+import { useRouter } from '@/router/supplier.js';
const props = defineProps<{
note: Misskey.entities.Note;
}>();
const showContent = ref(false);
+
+function noteclick(id: string) {
+ const selection = document.getSelection();
+ if (selection?.toString().length === 0) {
+ useRouter().push(`/notes/${id}`);
+ }
+}