Fix the params
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 18 May 2017 13:10:04 +0000 (09:10 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 18 May 2017 13:10:04 +0000 (09:10 -0400)
call function and pass in parameter

js/app.js
js/custom/bookARoom.js
style.css

index 4d80f52..950b7b1 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -35,8 +35,8 @@ function defaultagree(el){
     }
 }
 $(document).ready(function ($) {
-    $('input[name=agreecheck]').click(function(){
-        agreesubmit($(this));
+    $('input[name=agreecheck]').click(function(el){
+        agreesubmit(el);
     });
 });
 ;// Load foundation
index 6fef46e..6bee16b 100644 (file)
@@ -26,7 +26,7 @@ function defaultagree(el){
     }
 }
 $(document).ready(function ($) {
-    $('input[name=agreecheck]').click(function(){
-        agreesubmit($(this));
+    $('input[name=agreecheck]').click(function(el){
+        agreesubmit(el);
     });
 });
index a81c25a..b59dd58 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: CharlevoixPublicLibrary
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for CharlevoixPublicLibrary
-Version: 1.0.2
+Version: 1.0.3
 */