client: Fix typo in media caption code (#112)
All checks were successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
All checks were successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
Reviewed-on: #112
This commit is contained in:
commit
e60a2273d5
1 changed files with 3 additions and 3 deletions
|
@ -16,11 +16,11 @@
|
|||
</div>
|
||||
<div class="hdrwpsaf fullwidth">
|
||||
<header>{{ file.name }}</header>
|
||||
<img v-if="file.type.startsWidth('image/')" :src="file.url" @click="modal.close()"/>
|
||||
<video v-else-if="file.type.startsWidth('video/')" controls>
|
||||
<img v-if="file.type.startsWith('image/')" :src="file.url" @click="modal.close()"/>
|
||||
<video v-else-if="file.type.startsWith('video/')" controls>
|
||||
<source :src="file.url" :type="file.type">
|
||||
</video>
|
||||
<audio v-else-if="file.type.startsWidth('audio/')" controls>
|
||||
<audio v-else-if="file.type.startsWith('audio/')" controls>
|
||||
<source :src="file.url" :type="file.type">
|
||||
</audio>
|
||||
<a v-else :href="file.url">{{ file.url }}</a>
|
||||
|
|
Loading…
Reference in a new issue