lightbox switching (modal cards) fix
This commit is contained in:
@ -275,7 +275,7 @@
|
||||
<img
|
||||
class="blank"
|
||||
:src="blanksrc"
|
||||
@click="setcoolLightBoxIndex(index)"
|
||||
@click="setLightBox(index)"
|
||||
>
|
||||
</figure>
|
||||
</section>
|
||||
@ -589,6 +589,10 @@ export default {
|
||||
console.log('item', item)
|
||||
item.classList.remove('tapped')
|
||||
})
|
||||
},
|
||||
setLightBox(index){
|
||||
this.setcoolLightBoxItems(this.material.images)
|
||||
this.setcoolLightBoxIndex(index)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user