From f529c36a9c67d305926c3b110ac9c9b6e0899dcf Mon Sep 17 00:00:00 2001
From: Roger Braun <roger@rogerbraun.net>
Date: Mon, 7 Nov 2016 16:23:54 +0100
Subject: Force recreation of img node.

---
 src/components/attachment/attachment.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/attachment/attachment.vue')

diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
index 9a11f735..98750703 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -1,7 +1,7 @@
 <template>
   <div class="attachment">
     <a class="image-attachment" v-if="nsfw" v-on:click.prevent="showNsfw()">
-      <img :src="nsfwImage"></img>
+      <img :key="nsfwImage" :src="nsfwImage"></img>
     </a>
 
     <a class="image-attachment" v-if="type === 'image' && !nsfw" :href="attachment.url" target="_blank"><img :src="attachment.url"></img></a>
-- 
cgit v1.2.3-70-g09d2

