From 3093a95ca749516d5d034d997d35cf8df779f995 Mon Sep 17 00:00:00 2001 From: captainbeer Date: Wed, 22 Aug 2018 18:28:07 +0300 Subject: [PATCH] -Form from page fix --- frontend/web/js/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/web/js/events.js b/frontend/web/js/events.js index 81b50dd..6d73305 100644 --- a/frontend/web/js/events.js +++ b/frontend/web/js/events.js @@ -1,5 +1,5 @@ $(function() { - $(document).on('submit', '.section-forms #contact-form', function(e) { + $(document).on('beforeSubmit', '.section-forms #contact-form', function(e) { console.log('Form from page'); }); -- libgit2 0.21.4