aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2018-04-10 19:44:57 +0300
committershpuld <shp@cock.li>2018-04-10 19:44:57 +0300
commita327d83e624b4960e39c54b9d66f78b87be57697 (patch)
treec3ecdb67155d66559f1575d9cd16886058af87e4 /src/components/attachment
parent6a5116c349509c160c424b6e0fe8c17ece9a3417 (diff)
Add target _blank to attachment links.
Diffstat (limited to 'src/components/attachment')
-rw-r--r--src/components/attachment/attachment.vue2
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()">