From 1b5779e879f62e45b5791e4c341f843ae98a332c Mon Sep 17 00:00:00 2001 From: MarcosViniciusG Date: Mon, 12 Aug 2024 13:21:51 -0300 Subject: [PATCH] =?UTF-8?q?Resolu=C3=A7=C3=A3o=20de=20conflitos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lgbtq_connect/includes/admin/admin_script.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lgbtq_connect/includes/admin/admin_script.js b/lgbtq_connect/includes/admin/admin_script.js index d0465f25..257014c0 100644 --- a/lgbtq_connect/includes/admin/admin_script.js +++ b/lgbtq_connect/includes/admin/admin_script.js @@ -534,7 +534,7 @@ function abrirModalEdicao(dados) { document.addEventListener('DOMContentLoaded', adicionarListenerFormulario); document.addEventListener('DOMContentLoaded', function() { - var btnPendente = document.getElementById('botao_inicial'); + const btnPendente = document.getElementById('botao_inicial'); if (btnPendente) { btnPendente.click(); } @@ -795,7 +795,6 @@ document.querySelectorAll('.ver-mais-btn').forEach(function (button) { // Inicializa o mapa e os botões de ordenação quando a página carrega window.onload = function () { initMapAdmin(); - realizarQuery("Filtro"); }; // Exporta as classes