From bc7e499fd5c7bf26b80275f336069944ef5e4a8c Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 25 Jan 2016 08:32:12 -0500 Subject: [PATCH] testing jquery work around for ios click tap event --- js/app.js | 16 ++++++++-------- js/custom/pageSetup.js | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/js/app.js b/js/app.js index 778737e..d0df26c 100644 --- a/js/app.js +++ b/js/app.js @@ -180,14 +180,14 @@ $(document).ready(function () { $("#departOff").val(minDays); } }); -// $('#block-1, #block-2, #block-3').bind('touchstart', function(){ -// -// }); - if($(window).width() <= 1024){ - $("#block-1, #block-2, #block-3").on("click", function () { - $(this).toggleClass('front-page-blocks'); - }); - } + $('#block-1, #block-2, #block-3').bind('click tap', function(){ + + }); +// if($(window).width() <= 1024){ +// $("#block-1, #block-2, #block-3").on("click", function () { +// $(this).toggleClass('front-page-blocks'); +// }); +// } // if($(window).width() <= 1024){ diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 2d0e82c..0d6f794 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -171,14 +171,14 @@ $(document).ready(function () { $("#departOff").val(minDays); } }); -// $('#block-1, #block-2, #block-3').bind('touchstart', function(){ -// -// }); - if($(window).width() <= 1024){ - $("#block-1, #block-2, #block-3").on("click", function () { - $(this).toggleClass('front-page-blocks'); - }); - } + $('#block-1, #block-2, #block-3').bind('click tap', function(){ + + }); +// if($(window).width() <= 1024){ +// $("#block-1, #block-2, #block-3").on("click", function () { +// $(this).toggleClass('front-page-blocks'); +// }); +// } // if($(window).width() <= 1024){ -- 2.17.1