fix telegram
This commit is contained in:
@@ -157,6 +157,7 @@ const mobileToggle = document.getElementById('mobileToggle')
|
||||
formData.append('action', leadFormConfig.action)
|
||||
formData.append('nonce', leadFormConfig.nonce)
|
||||
formData.append('form_type', formType)
|
||||
formData.append('page_url', window.location.href)
|
||||
|
||||
try {
|
||||
const response = await window.fetch(leadFormConfig.ajaxUrl, {
|
||||
@@ -328,7 +329,7 @@ const mobileToggle = document.getElementById('mobileToggle')
|
||||
}, 700)
|
||||
})
|
||||
|
||||
submitLeadForm(contactForm, contactSuccess, 'contacts')
|
||||
submitLeadForm(contactForm, contactSuccess, 'landing_contacts')
|
||||
|
||||
document.addEventListener('keydown', event => {
|
||||
if (event.key !== 'Escape') {
|
||||
|
||||
Reference in New Issue
Block a user