From: Steve Sutton Date: Thu, 18 May 2017 13:10:04 +0000 (-0400) Subject: Fix the params X-Git-Tag: v1.0.3^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=ce0a0576cc732522657dab9d833e77af88ac60fe;p=WP-Themes%2Fcharlevoixlibrary.git Fix the params call function and pass in parameter --- 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 */