From ce0a0576cc732522657dab9d833e77af88ac60fe Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 18 May 2017 09:10:04 -0400 Subject: [PATCH] Fix the params call function and pass in parameter --- js/app.js | 4 ++-- js/custom/bookARoom.js | 4 ++-- style.css | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/js/app.js b/js/app.js index 4d80f52..950b7b1 100644 --- 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 diff --git a/js/custom/bookARoom.js b/js/custom/bookARoom.js index 6fef46e..6bee16b 100644 --- a/js/custom/bookARoom.js +++ b/js/custom/bookARoom.js @@ -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); }); }); diff --git a/style.css b/style.css index a81c25a..b59dd58 100644 --- 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 */ -- 2.17.1