mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
fix clicking audio & search mfm opening post
This commit is contained in:
parent
3672d8c995
commit
5cbd2a53b2
2 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="mk-google">
|
||||
<div class="mk-google" @click.stop>
|
||||
<input v-model="query" type="search" :placeholder="q" />
|
||||
<button @click="search">
|
||||
<i class="ph-magnifying-glass ph-bold ph-lg"></i>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
v-for="media in mediaList.filter((media) => !previewable(media))"
|
||||
:key="media.id"
|
||||
:media="media"
|
||||
@click.stop
|
||||
/>
|
||||
<div
|
||||
v-if="mediaList.filter((media) => previewable(media)).length > 0"
|
||||
|
@ -15,7 +16,6 @@
|
|||
:data-count="
|
||||
mediaList.filter((media) => previewable(media)).length
|
||||
"
|
||||
@click.stop
|
||||
>
|
||||
<template
|
||||
v-for="media in mediaList.filter((media) =>
|
||||
|
@ -26,6 +26,7 @@
|
|||
v-if="media.type.startsWith('video')"
|
||||
:key="media.id"
|
||||
:video="media"
|
||||
@click.stop
|
||||
/>
|
||||
<XImage
|
||||
v-else-if="media.type.startsWith('image')"
|
||||
|
@ -34,6 +35,7 @@
|
|||
:data-id="media.id"
|
||||
:image="media"
|
||||
:raw="raw"
|
||||
@click.stop
|
||||
/>
|
||||
</template>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue