浏览代码

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

fix placeholder attachments opening new tab

Closes #1139

See merge request pleroma/pleroma-fe!1439
HJ 2 年之前
父节点
当前提交
514d7d3f88
共有 1 个文件被更改,包括 1 次插入0 次删除
  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 }}