mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-24 11:46:43 -06: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>
|
||||
<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/>
|
||||
<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>
|
||||
<div v-show="note.cw == null || showContent" @click.stop>
|
||||
<MkSubNoteContent :class="$style.text" :note="note"/>
|
||||
|
|
|
@ -89,7 +89,6 @@ const url = computed(() => {
|
|||
|
||||
function onClick(ev: MouseEvent): void {
|
||||
if (props.link) return;
|
||||
ev.stopPropagation();
|
||||
emit('click', ev);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue