change to click.self

This commit is contained in:
ThatOneCalculator 2022-10-28 10:52:13 -07:00
parent b9ecbdfbad
commit b383c904b2
3 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ export default class Resolver {
throw new Error('Instance is not allowed');
}
if (config.signToActivityPubGet && !this.user) {
if (!this.user) {
this.user = await getInstanceActor();
}

View File

@ -42,7 +42,7 @@
<XCwButton v-model="showContent" :note="appearNote"/>
</p>
<div v-show="appearNote.cw == null || showContent" class="content" :class="{ collapsed, isLong }">
<div class="text" @click="router.push(notePage(appearNote))">
<div class="text" @click.self="router.push(notePage(appearNote))">
<MkA v-if="appearNote.replyId" class="reply" :to="`/notes/${appearNote.replyId}`"><i class="fas fa-reply"></i></MkA>
<Mfm v-if="appearNote.text" :text="appearNote.text" :author="appearNote.user" :i="$i" :custom-emojis="appearNote.emojis"/>
<a v-if="appearNote.renote != null" class="rp">RN:</a>

View File

@ -53,7 +53,7 @@
<XCwButton v-model="showContent" :note="appearNote"/>
</p>
<div v-show="appearNote.cw == null || showContent" class="content">
<div class="text" @click="router.push(notePage(appearNote))">
<div class="text" @click.self="router.push(notePage(appearNote))">
<MkA v-if="appearNote.replyId" class="reply" :to="`/notes/${appearNote.replyId}`"><i class="fas fa-reply"></i></MkA>
<Mfm v-if="appearNote.text" :text="appearNote.text" :author="appearNote.user" :i="$i" :custom-emojis="appearNote.emojis"/>
<a v-if="appearNote.renote != null" class="rp">RN:</a>