commit: 77b55a559be26e431f68188058c7900c2e16682c
parent 0300db6c6356c536694a9fcbb32a52abc81c52d5
Author: Henry Jameson <me@hjkos.com>
Date: Mon, 28 Feb 2022 19:42:02 +0200
fix placeholder attachments opening new tab
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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 }}