Browse Source

move gcaptcha to contact.js

windhamdavid 2 months ago
parent
commit
80dac58437
1 changed files with 0 additions and 8 deletions
  1. 0 8
      contact.html

+ 0 - 8
contact.html

@@ -382,14 +382,6 @@
 <script src="js/material-kit.min.js"></script>
 <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyB7ggSZufhKYdFE5PfBcy6aS4xnaX4-O_0"></script>
 <script async defer src="https://www.google.com/recaptcha/api.js?render=6Ld-Jq8UAAAAAIiecUb4JD3KmBRITjoMD_sbHkn0"></script>
-<script>
-grecaptcha.ready(function () {
-	grecaptcha.execute('6Ld-Jq8UAAAAAIiecUb4JD3KmBRITjoMD_sbHkn0', { action: 'contact' }).then(function (token) {
-		var recaptchaResponse = document.getElementById('recaptchaResponse');
-		recaptchaResponse.value = token;
-	});
-});
-</script>
 <script src="js/instagram.js"></script>
 <script src="js/map.js"></script>
 <script src="js/init.js"></script>