Browse Source

click on themacard image open thema, not lightbox

bach 3 years ago
parent
commit
a1bff5d4b8

File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/materiotheme/assets/dist/main.js


+ 3 - 3
web/themes/custom/materiotheme/vuejs/components/Content/CardThematique.vue

@@ -23,17 +23,17 @@
         <img
           class="blank"
           :src="blanksrc"
-          @click="lightbox_index = index"
+          @click.prevent="openThematique"
         >
       </figure>
     </section>
-    <CoolLightBox
+    <!-- <CoolLightBox
       :items="item.images"
       :index="lightbox_index"
       srcName="style_hd_url"
       :loop="true"
       @close="lightbox_index = null">
-    </CoolLightBox>
+    </CoolLightBox> -->
   </article>
 </template>
 

+ 1 - 1
web/themes/custom/materiotheme/vuejs/components/Pages/Article.vue

@@ -277,7 +277,7 @@ export default {
         });
       }
 
-      // console.log('this.content.lightbox_items', this.lightbox_items);
+      console.log('Article this.content.lightbox_items', this.lightbox_items);
 
       // update main page title
       this.$store.commit('Common/setPagetitle', article.title)

Some files were not shown because too many files changed in this diff