diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2022-09-06 15:37:34 +0300 |
---|---|---|
committer | Julien Veyssier <eneiluj@posteo.net> | 2022-09-06 15:44:55 +0300 |
commit | 4b80cd55703d9da3c82b51cf9dd2547cf3bf83be (patch) | |
tree | abfd25622b2ccc24ef5ed81071d9c57505abc0bd /src | |
parent | 9764e64f732e53e6c3200405c02f3ccd2ccfa88a (diff) |
don't even render the image caption if attachment is not an image
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/nodes/ImageView.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nodes/ImageView.vue b/src/nodes/ImageView.vue index 8351f9455..dfd687444 100644 --- a/src/nodes/ImageView.vue +++ b/src/nodes/ImageView.vue @@ -69,7 +69,7 @@ </template> </transition> <transition name="fade"> - <div v-show="loaded" class="image__caption"> + <div v-if="!isMediaAttachment" v-show="loaded" class="image__caption"> <div class="image__caption__wrapper"> <input v-show="!isMediaAttachment" ref="altInput" |