From e9bd87175eef1c651f4333cd685f3abdcbe9466c Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 18 May 2017 09:13:25 -0400 Subject: [PATCH] Try again on the js for the checkbox Working on getting the continue button to enable when checkbox is active. --- js/app.js | 2 +- js/custom/bookARoom.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }); }); -- 2.17.1