From: Anthony Talarico Date: Fri, 22 Jan 2016 21:21:48 +0000 (-0500) Subject: reverting changes X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=fb018a32332fde21d18299d1dc09b798f4001d32;p=WP-Themes%2Fglmthemes%2Fsaultstemarie-theme.git reverting changes --- 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');