aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-02-28 19:42:02 +0200
committerHenry Jameson <me@hjkos.com>2022-02-28 19:42:02 +0200
commit77b55a559be26e431f68188058c7900c2e16682c (patch)
treefaae5e95aa0de608ec418718091612ccbca13d57 /src/components/attachment/attachment.vue
parent0300db6c6356c536694a9fcbb32a52abc81c52d5 (diff)
fix placeholder attachments opening new tab
Diffstat (limited to 'src/components/attachment/attachment.vue')
-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 }}