aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2022-02-28 17:46:58 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2022-02-28 17:46:58 +0000
commit514d7d3f887e8a4724f1997d42d93c75202dc58b (patch)
treefaae5e95aa0de608ec418718091612ccbca13d57
parent0300db6c6356c536694a9fcbb32a52abc81c52d5 (diff)
parent77b55a559be26e431f68188058c7900c2e16682c (diff)
Merge branch 'fix-hidden-attachments' into 'develop'
fix placeholder attachments opening new tab Closes #1139 See merge request pleroma/pleroma-fe!1439
-rw-r--r--src/components/attachment/attachment.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
index 59173759..d1d43ac3 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -12,6 +12,7 @@
:href="attachment.url"
:alt="attachment.description"
:title="attachment.description"
+ @click.prevent
>
<FAIcon :icon="placeholderIconClass" />
<b>{{ nsfw ? "NSFW / " : "" }}</b>{{ edit ? '' : placeholderName }}