From 882e0243313e8f08e5e8995a6374b79f886c91a6 Mon Sep 17 00:00:00 2001
From: Edijs <iamedijs@hotmail.com>
Date: Thu, 28 Feb 2019 11:16:16 +0800
Subject: Revert code

---
 src/components/gallery/gallery.vue | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

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

diff --git a/src/components/gallery/gallery.vue b/src/components/gallery/gallery.vue
index 90888c21..3f90caa9 100644
--- a/src/components/gallery/gallery.vue
+++ b/src/components/gallery/gallery.vue
@@ -1,11 +1,6 @@
 <template>
   <div ref="galleryContainer" style="width: 100%;">
-    <div
-      v-for="(row, row_num) in rows"
-      :key="row_num"
-      :style="rowHeight(row.length)"
-      :class="{ 'gallery-row': true, 'contain-fit': useContainFit, 'cover-fit': !useContainFit }"
-    >
+    <div class="gallery-row" v-for="row in rows" :style="rowHeight(row.length)" :class="{ 'contain-fit': useContainFit, 'cover-fit': !useContainFit }">
       <attachment
         v-for="attachment in row"
         :setMedia="setMedia"
-- 
cgit v1.2.3-70-g09d2

