diff options
| author | shpuld <shp@cock.li> | 2018-04-10 19:44:57 +0300 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2018-04-10 19:44:57 +0300 |
| commit | a327d83e624b4960e39c54b9d66f78b87be57697 (patch) | |
| tree | c3ecdb67155d66559f1575d9cd16886058af87e4 | |
| parent | 6a5116c349509c160c424b6e0fe8c17ece9a3417 (diff) | |
Add target _blank to attachment links.
| -rw-r--r-- | src/components/attachment/attachment.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index ff34663d..c84a74a0 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -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()"> |
