show image comment as title in embeds
This commit is contained in:
parent
e87b1d2b11
commit
7628fe9c46
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<template>
|
<template>
|
||||||
<div :class="[hide ? $style.hidden : $style.visible]" @click="onclick">
|
<div :class="[hide ? $style.hidden : $style.visible]" @click="onclick">
|
||||||
<a
|
<a
|
||||||
:title="image.name"
|
:title="image.comment || image.name"
|
||||||
:class="$style.imageContainer"
|
:class="$style.imageContainer"
|
||||||
:href="href ?? image.url"
|
:href="href ?? image.url"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|
Loading…
Reference in a new issue