From 3c8e17ab8071771ec1221b8ec2c7811cf3213ecc Mon Sep 17 00:00:00 2001 From: JotaChina Date: Mon, 15 Dec 2025 19:05:16 -0300 Subject: [PATCH] =?UTF-8?q?reforma=20da=20interface=20da=20p=C3=A1gina=20d?= =?UTF-8?q?e=20projetos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/projetos.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pages/projetos.md b/pages/projetos.md index 9bcbca7e..4b81d290 100755 --- a/pages/projetos.md +++ b/pages/projetos.md @@ -619,13 +619,9 @@ document.addEventListener('DOMContentLoaded', () => { const s = parseInt(c.dataset.stars || 0); const k = c.dataset.key; // Pega o que salvamos ("Ab", "Cm", etc) - const matchG = (currentGenre === 'all' || g === currentGenre); - const matchS = (currentMinStars === 'all' || s === parseInt(currentMinStars)); // Lembra do === da resposta anterior - // Novo Match de Tom - // A lógica aqui é simples: se for 'all', passa. Se não, tem que ser igual. - const matchK = (currentKey === 'all' || k === currentKey); const matchG = (currentGenre === 'all' || g === currentGenre); const matchS = (currentMinStars === 'all' || s === parseInt(currentMinStars)); + const matchK = (currentKey === 'all' || k === currentKey); col.style.display = (matchG && matchS && matchK) ? 'block' : 'none'; });