Explorar o código

Merge branch 'fix-hidden-attachments' into 'develop'

fix placeholder attachments opening new tab

Closes #1139

See merge request pleroma/pleroma-fe!1439
HJ %!s(int64=2) %!d(string=hai) anos
pai
achega
514d7d3f88
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/components/attachment/attachment.vue

+ 1 - 0
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 }}