Attempt to fix recaptcha issue
This commit is contained in:
		@ -44,7 +44,7 @@
 | 
				
			|||||||
  ================================================== -->
 | 
					  ================================================== -->
 | 
				
			||||||
  <script src="js/modernizr.js"></script>
 | 
					  <script src="js/modernizr.js"></script>
 | 
				
			||||||
  <!-- CAPTCHA -->
 | 
					  <!-- CAPTCHA -->
 | 
				
			||||||
  <script src='https://www.google.com/recaptcha/api.js'></script>
 | 
					  <script src="https://www.google.com/recaptcha/api.js?onload=vcRecaptchaApiLoaded&render=explicit" async defer></script>
 | 
				
			||||||
  <!-- Google Analytics -->
 | 
					  <!-- Google Analytics -->
 | 
				
			||||||
  <script>
 | 
					  <script>
 | 
				
			||||||
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
 | 
					  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
 | 
				
			||||||
 | 
				
			|||||||
@ -171,9 +171,9 @@ jQuery(document).ready(function($) {
 | 
				
			|||||||
          $('#image-loader').fadeOut();
 | 
					          $('#image-loader').fadeOut();
 | 
				
			||||||
          $('#message-warning').html(msg);
 | 
					          $('#message-warning').html(msg);
 | 
				
			||||||
          $('#message-warning').fadeIn();
 | 
					          $('#message-warning').fadeIn();
 | 
				
			||||||
 | 
					          grecaptcha.reset();
 | 
				
			||||||
          $('form#contactForm button.submit').prop('disabled', false);
 | 
					          $('form#contactForm button.submit').prop('disabled', false);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        grecaptcha.reset();
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user