Try again on the js for the checkbox
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 18 May 2017 13:13:25 +0000 (09:13 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 18 May 2017 13:13:25 +0000 (09:13 -0400)
Working on getting the continue button to enable when checkbox is
active.

js/app.js
js/custom/bookARoom.js

index 950b7b1..2ce85ef 100644 (file)
--- 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
index 6bee16b..39aac05 100644 (file)
@@ -27,6 +27,6 @@ function defaultagree(el){
 }
 $(document).ready(function ($) {
     $('input[name=agreecheck]').click(function(el){
-        agreesubmit(el);
+        agreesubmit(this);
     });
 });