removed debug console logs
parent
bfd1bb1cd7
commit
4d02ed130f
|
@ -36,7 +36,7 @@
|
||||||
this.innerHTML = "";
|
this.innerHTML = "";
|
||||||
|
|
||||||
document.querySelectorAll('[thumbnail-alt-mobile]').forEach((thumbnail) => {
|
document.querySelectorAll('[thumbnail-alt-mobile]').forEach((thumbnail) => {
|
||||||
console.log(thumbnail.getAttribute('thumbnail-alt-mobile'));
|
//console.log(thumbnail.getAttribute('thumbnail-alt-mobile'));
|
||||||
if (thumbnail.getAttribute('thumbnail-alt-mobile') === "__" + this.currentVariant) {
|
if (thumbnail.getAttribute('thumbnail-alt-mobile') === "__" + this.currentVariant) {
|
||||||
let videoWrapper = thumbnail.querySelector('.shx-video');
|
let videoWrapper = thumbnail.querySelector('.shx-video');
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@
|
||||||
updateVariantDescription(id) {
|
updateVariantDescription(id) {
|
||||||
this.currentVariant = id;
|
this.currentVariant = id;
|
||||||
|
|
||||||
console.log(this.variant, this.currentVariant);
|
//console.log(this.variant, this.currentVariant);
|
||||||
if(this.variant === this.currentVariant) {
|
if(this.variant === this.currentVariant) {
|
||||||
this.style.display = 'block';
|
this.style.display = 'block';
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue