cambios php
This commit is contained in:
+2
-2
@@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user