cambios php

This commit is contained in:
2026-09-21 02:57:06 -03:00
parent 82816cb680
commit e36ec1e8ca
31 changed files with 659 additions and 1389 deletions
+2 -2
View File
@@ -27,7 +27,7 @@
modal.setAttribute('aria-hidden', 'true');
document.body.style.overflow = '';
if (redirectTimer) clearTimeout(redirectTimer);
if (redirigir) window.location.href = 'inicio.html';
if (redirigir) window.location.href = 'index.html';
}
function mostrarError(mensaje) {
@@ -86,7 +86,7 @@
const delay = Number(json.delay) || 4000;
redirectTimer = setTimeout(() => {
window.location.href = json.redirect || 'inicio.html';
window.location.href = json.redirect || 'index.html';
}, delay);
} else {
mostrarError(json.message || 'No pudimos enviar tu mensaje.');