dd
Showing
2 changed files
with
3 additions
and
8 deletions
| ... | @@ -357,10 +357,8 @@ $(window).on('load resize scroll', function() { | ... | @@ -357,10 +357,8 @@ $(window).on('load resize scroll', function() { |
| 357 | 357 | ||
| 358 | 358 | ||
| 359 | document.addEventListener( 'wpcf7submit', function( event ) { | 359 | document.addEventListener( 'wpcf7submit', function( event ) { |
| 360 | console.log('id'+event.detail.contactFormId); | ||
| 361 | if ( '209' == event.detail.contactFormId ) { | ||
| 362 | |||
| 363 | 360 | ||
| 361 | if ( '209' == event.detail.contactFormId ) { | ||
| 364 | if($(event.target).hasClass('invalid')) { | 362 | if($(event.target).hasClass('invalid')) { |
| 365 | $('#exampleModalLong').find('form').show(); | 363 | $('#exampleModalLong').find('form').show(); |
| 366 | return; | 364 | return; |
| ... | @@ -435,14 +433,11 @@ $(window).on('load resize scroll', function() { | ... | @@ -435,14 +433,11 @@ $(window).on('load resize scroll', function() { |
| 435 | 433 | ||
| 436 | }); | 434 | }); |
| 437 | } | 435 | } |
| 438 | if ( '676' == event.detail.contactFormId ) { | 436 | if ( '646' == event.detail.contactFormId ) { |
| 439 | console.log('remind-me'); | ||
| 440 | if($(event.target).hasClass('invalid')) { | 437 | if($(event.target).hasClass('invalid')) { |
| 441 | console.log('invalid'); | ||
| 442 | $('#exampleModal').find('form').show(); | 438 | $('#exampleModal').find('form').show(); |
| 443 | return; | 439 | return; |
| 444 | }else{ | 440 | }else{ |
| 445 | console.log('hide'); | ||
| 446 | $('#exampleModal').modal('hide'); | 441 | $('#exampleModal').modal('hide'); |
| 447 | } | 442 | } |
| 448 | } | 443 | } | ... | ... |
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | Author: the Understrap Contributors | 5 | Author: the Understrap Contributors |
| 6 | Author URI: https://github.com/understrap/understrap-child/graphs/contributors | 6 | Author URI: https://github.com/understrap/understrap-child/graphs/contributors |
| 7 | Template: understrap | 7 | Template: understrap |
| 8 | Version: 1.1.303891 | 8 | Version: 1.1.303892 |
| 9 | License: GNU General Public License v2 or later | 9 | License: GNU General Public License v2 or later |
| 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html | 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 11 | Text Domain: understrap-child | 11 | Text Domain: understrap-child | ... | ... |
-
Please register or sign in to post a comment