From 7e2f769fe77b91c2aeac790327dcf615fb603f9b Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 22 Jan 2016 15:55:57 -0500 Subject: [PATCH] testing touchstart mobile function --- js/app.js | 13 ++++++++----- js/custom/pageSetup.js | 13 ++++++++----- 2 files changed, 16 insertions(+), 10 deletions(-) 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"); -- 2.17.1