From 315ae2f8ca999acd6c3b05c4022cface8baafc20 Mon Sep 17 00:00:00 2001 From: Rafael Sampaio Date: Sun, 11 Dec 2022 11:51:49 -0300 Subject: [PATCH] refactor: altera javascript footer --- checkout/src/arquivos/js/components/Footer.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/checkout/src/arquivos/js/components/Footer.js b/checkout/src/arquivos/js/components/Footer.js index 001555f..ea8697f 100644 --- a/checkout/src/arquivos/js/components/Footer.js +++ b/checkout/src/arquivos/js/components/Footer.js @@ -33,14 +33,13 @@ export default class Footer { items: [34], }, ]; + await this.selectors(); // this.onUpdate(); this.renderPrateleira(); this.items = document.querySelector(".footerCheckout__prateleira-container"); this.renderItems(); await this.addCarrossel(); - this.virgula = document.getElementById("#text"); - console.log(this.virgula); } async selectors() { @@ -113,8 +112,6 @@ export default class Footer { async addCarrossel() { const elemento = await waitElement(".footerCheckout__prateleira-container"); $(elemento).slick({ - // slidesToShow: 4, - // slidesToScroll: 1, infinite: false, prevArrow: "",