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