aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.vue
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-02-19 12:58:25 +0100
committerRoger Braun <roger@rogerbraun.net>2017-02-19 12:58:25 +0100
commit04c4ad9a6572167f049b833fc343b8eba819ac46 (patch)
treed6240a1bb3a22bd9251f7db2ebaecd742ed8d37b /src/components/attachment/attachment.vue
parent73f46bfba68b80dc09d070ebc53310802c9a2046 (diff)
Open clicked links the statusnet_html in a new window.
Diffstat (limited to 'src/components/attachment/attachment.vue')
-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 a294901b..738a1e86 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -18,7 +18,7 @@
<span v-if="type === 'unknown'">Don't know how to display this...</span>
- <div v-if="type === 'html' && attachment.oembed" class="oembed">
+ <div @click.prevent="linkClicked" v-if="type === 'html' && attachment.oembed" class="oembed">
<div v-if="attachment.thumb_url" class="image">
<img :src="attachment.thumb_url"></img>
</div>