diff --git a/local/templates/.default/js/custom.js b/local/templates/.default/js/custom.js index f975070..c32da5f 100644 --- a/local/templates/.default/js/custom.js +++ b/local/templates/.default/js/custom.js @@ -131,7 +131,7 @@ function handleConsultationForm(formElement) { .then(response => response.json()) .then(data => { if (data.success) { - window.location.href = '/spasibo-footer/'; + window.location.href = '/spasibo_blue/'; formElement.reset(); } else { showCartToast("Ошибка при отправке заявки", 3000, 'error'); @@ -154,7 +154,7 @@ function handleForm(formElement) { const formData = new FormData(formElement); const submitButton = formElement.querySelector('.button'); const url='/local/ajax/form.php'; - const redurect_url='/spasibo-tovary/'; + const redurect_url='/spasibo-footer/'; if (submitButton) { submitButton.disabled = true; submitButton.classList.add('is-loading');