test
parent
238fe0bb51
commit
924d48bda1
|
@ -56,7 +56,7 @@
|
|||
this.video = this.querySelector('video');
|
||||
|
||||
// get parrent with class "card-wrapper product-card-wrapper"
|
||||
this.productCard = video.closest('.product-card-wrapper');
|
||||
this.productCard = this.video.closest('.product-card-wrapper');
|
||||
console.log(this.productCard);
|
||||
|
||||
//hover effect
|
||||
|
|
Loading…
Reference in New Issue