From 41d297f79b5b5391e17be3bcae8eb5c7de4ca9dc Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 18 May 2017 09:04:32 -0400 Subject: [PATCH] Update js for the book room agreement use jquery to setup the click event --- js/app.js | 5 +++++ js/custom/bookARoom.js | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/js/app.js b/js/app.js index f5b757c..f9e16d5 100644 --- a/js/app.js +++ b/js/app.js @@ -34,6 +34,11 @@ function defaultagree(el){ } } } +$(document).ready(function ($) { + $('input[name=agreecheck]').click(function(){ + agreecheck($(this)); + }); +}); ;// Load foundation $(document).foundation(); $(document).ready(function () { diff --git a/js/custom/bookARoom.js b/js/custom/bookARoom.js index 8552bff..3108371 100644 --- a/js/custom/bookARoom.js +++ b/js/custom/bookARoom.js @@ -25,3 +25,8 @@ function defaultagree(el){ } } } +$(document).ready(function ($) { + $('input[name=agreecheck]').click(function(){ + agreecheck($(this)); + }); +}); -- 2.17.1