mirror of
https://github.com/paricafe/misskey.git
synced 2025-03-20 11:19:22 -05:00
fix avatar stopPropagation
This commit is contained in:
parent
731df076f0
commit
8e35800168
2 changed files with 1 additions and 2 deletions
|
@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<div>
|
<div>
|
||||||
<p v-if="note.cw != null" :class="$style.cw">
|
<p v-if="note.cw != null" :class="$style.cw">
|
||||||
<Mfm v-if="note.cw != ''" style="margin-right: 8px;" :text="note.cw" :isBlock="true" :author="note.user" :nyaize="'respect'" :emojiUrls="note.emojis" @click.stop/>
|
<Mfm v-if="note.cw != ''" style="margin-right: 8px;" :text="note.cw" :isBlock="true" :author="note.user" :nyaize="'respect'" :emojiUrls="note.emojis" @click.stop/>
|
||||||
<MkCwButton v-model="showContent" :text="note.text" :files="note.files" :poll="note.poll" @click.stop/>
|
<MkCwButton v-model="showContent" :text="note.text" :files="note.files" :poll="note.poll" @click.stop="!note.poll" />
|
||||||
</p>
|
</p>
|
||||||
<div v-show="note.cw == null || showContent" @click.stop>
|
<div v-show="note.cw == null || showContent" @click.stop>
|
||||||
<MkSubNoteContent :class="$style.text" :note="note"/>
|
<MkSubNoteContent :class="$style.text" :note="note"/>
|
||||||
|
|
|
@ -89,7 +89,6 @@ const url = computed(() => {
|
||||||
|
|
||||||
function onClick(ev: MouseEvent): void {
|
function onClick(ev: MouseEvent): void {
|
||||||
if (props.link) return;
|
if (props.link) return;
|
||||||
ev.stopPropagation();
|
|
||||||
emit('click', ev);
|
emit('click', ev);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue