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 (target.style.display === "none") {
|
||||
console.log("carrinho cheio");
|
||||
this.footerPrateleira.style.display = "";
|
||||
|
||||
if (!this.footerPrateleira.classList.contains("slick-initialized"))
|
||||
this.addCarrossel();
|
||||
this.footerPrateleira.style.display = "";
|
||||
} else {
|
||||
this.footerPrateleira.style.display = "none";
|
||||
console.log("carrinho vazio");
|
||||
|
Loading…
Reference in New Issue
Block a user