diff options
| author | Mar0xy <marie@kaifa.ch> | 2023-10-15 19:16:14 +0200 |
|---|---|---|
| committer | Mar0xy <marie@kaifa.ch> | 2023-10-15 19:16:14 +0200 |
| commit | 2f1f463009fcc7be54bedd20690ab80b2df5713a (patch) | |
| tree | a0d805667fb0bc36750772017dab627b4941add9 /packages/frontend/src/components/MkSubNoteContent.vue | |
| parent | merge: Fix translations (#75) (diff) | |
| download | sharkey-2f1f463009fcc7be54bedd20690ab80b2df5713a.tar.gz sharkey-2f1f463009fcc7be54bedd20690ab80b2df5713a.tar.bz2 sharkey-2f1f463009fcc7be54bedd20690ab80b2df5713a.zip | |
upd: client option for click to open posts
Diffstat (limited to 'packages/frontend/src/components/MkSubNoteContent.vue')
| -rw-r--r-- | packages/frontend/src/components/MkSubNoteContent.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkSubNoteContent.vue b/packages/frontend/src/components/MkSubNoteContent.vue index 021dc0d863..c59031070b 100644 --- a/packages/frontend/src/components/MkSubNoteContent.vue +++ b/packages/frontend/src/components/MkSubNoteContent.vue @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template> <div :class="[$style.root, { [$style.collapsed]: collapsed }]"> - <div @click="noteclick(note.id)"> + <div @click="defaultStore.state.clickToOpen ? noteclick(note.id) : undefined"> <span v-if="note.isHidden" style="opacity: 0.5">({{ i18n.ts.private }})</span> <span v-if="note.deletedAt" style="opacity: 0.5">({{ i18n.ts.deleted }})</span> <MkA v-if="note.replyId" :class="$style.reply" :to="`/notes/${note.replyId}`" v-on:click.stop><i class="ph-arrow-bend-left-up ph-bold pg-lg"></i></MkA> |