Add target _blank to attachment links.

This commit is contained in:
shpuld 2018-04-10 19:44:57 +03:00
parent 6a5116c349
commit a327d83e62
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<template>
<div v-if="size==='hide'">
<a class="placeholder" v-if="type !== 'html'" :href="attachment.url">[{{nsfw ? "NSFW/" : ""}}{{type.toUpperCase()}}]</a>
<a class="placeholder" v-if="type !== 'html'" target="_blank" :href="attachment.url">[{{nsfw ? "NSFW/" : ""}}{{type.toUpperCase()}}]</a>
</div>
<div v-else class="attachment base03-border" :class="{[type]: true, loading, 'small-attachment': isSmall}" v-show="!isEmpty">
<a class="image-attachment" v-if="hidden" @click.prevent="toggleHidden()">