Merge branch 'feature/template-checkout'
This commit is contained in:
commit
913ff60618
@ -168,10 +168,10 @@ export default class Footer {
|
|||||||
if (mutation.type === "attributes" && mutation.attributeName === "style") {
|
if (mutation.type === "attributes" && mutation.attributeName === "style") {
|
||||||
if (target.style.display === "none") {
|
if (target.style.display === "none") {
|
||||||
console.log("carrinho cheio");
|
console.log("carrinho cheio");
|
||||||
|
this.footerPrateleira.style.display = "";
|
||||||
|
|
||||||
if (!this.footerPrateleira.classList.contains("slick-initialized"))
|
if (!this.footerPrateleira.classList.contains("slick-initialized"))
|
||||||
this.addCarrossel();
|
this.addCarrossel();
|
||||||
this.footerPrateleira.style.display = "";
|
|
||||||
} else {
|
} else {
|
||||||
this.footerPrateleira.style.display = "none";
|
this.footerPrateleira.style.display = "none";
|
||||||
console.log("carrinho vazio");
|
console.log("carrinho vazio");
|
||||||
|
Loading…
Reference in New Issue
Block a user