From: Anthony Talarico Date: Fri, 22 Jan 2016 20:55:57 +0000 (-0500) Subject: testing touchstart mobile function X-Git-Tag: v1.0.0^2~128 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=7e2f769fe77b91c2aeac790327dcf615fb603f9b;p=WP-Themes%2Fsaultstemarie.git testing touchstart mobile function --- diff --git a/js/app.js b/js/app.js index 07d86bf..1f81eff 100644 --- a/js/app.js +++ b/js/app.js @@ -180,12 +180,15 @@ $(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'); - }); - } +// if($(window).width() <= 1024){ +// $("#block-1, #block-2, #block-3").on("click", function () { +// $(this).toggleClass('front-page-blocks'); +// }); +// } // $("#block-1, #block-2, #block-3").click(function () { // var $tmp = $(this).find("p"); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 75d64db..b2e5d34 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -171,12 +171,15 @@ $(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'); - }); - } +// if($(window).width() <= 1024){ +// $("#block-1, #block-2, #block-3").on("click", function () { +// $(this).toggleClass('front-page-blocks'); +// }); +// } // $("#block-1, #block-2, #block-3").click(function () { // var $tmp = $(this).find("p");