0e7ef0ab by Jeff Balicki

dd

1 parent bae75c41
......@@ -357,10 +357,8 @@ $(window).on('load resize scroll', function() {
document.addEventListener( 'wpcf7submit', function( event ) {
console.log('id'+event.detail.contactFormId);
if ( '209' == event.detail.contactFormId ) {
if ( '209' == event.detail.contactFormId ) {
if($(event.target).hasClass('invalid')) {
$('#exampleModalLong').find('form').show();
return;
......@@ -435,14 +433,11 @@ $(window).on('load resize scroll', function() {
});
}
if ( '676' == event.detail.contactFormId ) {
console.log('remind-me');
if ( '646' == event.detail.contactFormId ) {
if($(event.target).hasClass('invalid')) {
console.log('invalid');
$('#exampleModal').find('form').show();
return;
}else{
console.log('hide');
$('#exampleModal').modal('hide');
}
}
......
......@@ -5,7 +5,7 @@
Author: the Understrap Contributors
Author URI: https://github.com/understrap/understrap-child/graphs/contributors
Template: understrap
Version: 1.1.303891
Version: 1.1.303892
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: understrap-child
......