From: Anthony Talarico Date: Mon, 25 Jan 2016 13:32:12 +0000 (-0500) Subject: testing jquery work around for ios click tap event X-Git-Tag: v1.0.0^2~114 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=bc7e499fd5c7bf26b80275f336069944ef5e4a8c;p=WP-Themes%2Fsaultstemarie.git testing jquery work around for ios click tap event --- 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){