From: Steve Sutton Date: Thu, 18 May 2017 13:13:25 +0000 (-0400) Subject: Try again on the js for the checkbox X-Git-Tag: v1.0.4^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=e9bd87175eef1c651f4333cd685f3abdcbe9466c;p=WP-Themes%2Fcharlevoixlibrary.git Try again on the js for the checkbox Working on getting the continue button to enable when checkbox is active. --- diff --git a/js/app.js b/js/app.js index 950b7b1..2ce85ef 100644 --- a/js/app.js +++ b/js/app.js @@ -36,7 +36,7 @@ function defaultagree(el){ } $(document).ready(function ($) { $('input[name=agreecheck]').click(function(el){ - agreesubmit(el); + agreesubmit(this); }); }); ;// Load foundation diff --git a/js/custom/bookARoom.js b/js/custom/bookARoom.js index 6bee16b..39aac05 100644 --- a/js/custom/bookARoom.js +++ b/js/custom/bookARoom.js @@ -27,6 +27,6 @@ function defaultagree(el){ } $(document).ready(function ($) { $('input[name=agreecheck]').click(function(el){ - agreesubmit(el); + agreesubmit(this); }); });