fix clicking audio & search mfm opening post

This commit is contained in:
Freeplay 2023-05-08 13:59:39 -04:00
parent 03e65864cb
commit a1a356b696
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="mk-google"> <div class="mk-google" @click.stop>
<input v-model="query" type="search" :placeholder="q" /> <input v-model="query" type="search" :placeholder="q" />
<button @click="search"> <button @click="search">
<i class="ph-magnifying-glass ph-bold ph-lg"></i> <i class="ph-magnifying-glass ph-bold ph-lg"></i>

View File

@ -4,6 +4,7 @@
v-for="media in mediaList.filter((media) => !previewable(media))" v-for="media in mediaList.filter((media) => !previewable(media))"
:key="media.id" :key="media.id"
:media="media" :media="media"
@click.stop
/> />
<div <div
v-if="mediaList.filter((media) => previewable(media)).length > 0" v-if="mediaList.filter((media) => previewable(media)).length > 0"
@ -15,7 +16,6 @@
:data-count=" :data-count="
mediaList.filter((media) => previewable(media)).length mediaList.filter((media) => previewable(media)).length
" "
@click.stop
> >
<template <template
v-for="media in mediaList.filter((media) => v-for="media in mediaList.filter((media) =>
@ -26,6 +26,7 @@
v-if="media.type.startsWith('video')" v-if="media.type.startsWith('video')"
:key="media.id" :key="media.id"
:video="media" :video="media"
@click.stop
/> />
<XImage <XImage
v-else-if="media.type.startsWith('image')" v-else-if="media.type.startsWith('image')"
@ -34,6 +35,7 @@
:data-id="media.id" :data-id="media.id"
:image="media" :image="media"
:raw="raw" :raw="raw"
@click.stop
/> />
</template> </template>
</div> </div>