From 538e4a6374c1fee36f357f002c5bec986d99ca03 Mon Sep 17 00:00:00 2001 From: Renato Lima Date: Sat, 30 Oct 2021 15:22:18 -0300 Subject: [PATCH] =?UTF-8?q?Diferencia=20cores=20dos=20valores=20gerados=20?= =?UTF-8?q?pela=20extens=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #4 --- main.js | 4 ++-- manifest.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index b72a83c..936ffb7 100644 --- a/main.js +++ b/main.js @@ -39,12 +39,12 @@ $(".ui-search-layout__item").each(function () { var totalPriceHtml = '' + Number(totalPrice).toLocaleString("pt-br", {minimumFractionDigits: 2}); totalPriceHtml = totalPriceHtml.replace(',', ''); - totalPriceHtml = totalPriceHtml + ''; + totalPriceHtml = totalPriceHtml + ''; var shippingPriceHtml = shippingPriceElement.html().replace('', ''); shippingPriceHtml = shippingPriceHtml.replace('', ''); - productPriceElement.append('+' + shippingPriceHtml + '= ' + totalPriceHtml); + productPriceElement.append('+' + shippingPriceHtml + '=' + totalPriceHtml + ""); } var shippingDetailElement = $(response).find(".ui-pdp-container__row--shipping-summary .ui-pdp-media__title"); diff --git a/manifest.json b/manifest.json index f9edcdd..6313de0 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "Mercado Livre Plus", "description": "Extensão para Google Chrome que melhora a listagem de produtos no Mercado Livre.", - "version": "0.0.0.7", + "version": "0.0.0.8", "action": { "default_icon": "icon96.png", "default_popup": "popup.html"