From fb018a32332fde21d18299d1dc09b798f4001d32 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 22 Jan 2016 16:21:48 -0500 Subject: [PATCH] reverting changes --- js/app.js | 8 +++++--- js/custom/pageSetup.js | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/js/app.js b/js/app.js index 66c2463..a9ede56 100644 --- a/js/app.js +++ b/js/app.js @@ -181,9 +181,11 @@ $(document).ready(function () { } }); - if($("#block-1").is(":hover")){ - alert("est"); - } + $('#block-1, #block-2, #block-3').bind('touchstart', function(){ + if($("#block-1").is(":hover")){ + alert("test"); + } + }); // if($(window).width() <= 1024){ // var p = document.getElementById('block-1'); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index e75fb84..36de4a9 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -172,9 +172,11 @@ $(document).ready(function () { } }); - if($("#block-1").is(":hover")){ - alert("est"); - } + $('#block-1, #block-2, #block-3').bind('touchstart', function(){ + if($("#block-1").is(":hover")){ + alert("test"); + } + }); // if($(window).width() <= 1024){ // var p = document.getElementById('block-1'); -- 2.17.1