From ce555dc9166735730b9e0c8af6f72539753fac62 Mon Sep 17 00:00:00 2001 From: Luiz Gustavo Date: Mon, 9 Dec 2024 15:18:18 -0300 Subject: [PATCH] Update script.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ajustando saĆ­da de som --- docs/script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/script.js b/docs/script.js index 43c757d..f51def6 100644 --- a/docs/script.js +++ b/docs/script.js @@ -12,6 +12,7 @@ function abrirTelaCheia(cartao) const som = new Audio(); const textoCartao = texto.textContent.toLowerCase(); som.src = `audios/${textoCartao}.mp3`; + som.play(); let vezesReproduzidas = 0;