From: Anthony Talarico Date: Fri, 22 Jan 2016 20:47:52 +0000 (-0500) Subject: removed onclick attr from block div X-Git-Tag: v1.0.0^2~130 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=ad9d7ffc1ee93f70cf4083917fe8afaaaad195d2;p=WP-Themes%2Fsaultstemarie.git removed onclick attr from block div --- diff --git a/js/app.js b/js/app.js index 676d2d6..b732fd8 100644 --- a/js/app.js +++ b/js/app.js @@ -181,8 +181,7 @@ $(document).ready(function () { } }); - if($(window).width() <= 640){ - alert("Aasdf"); + if($(window).width() <= 1024){ $("#block-1, #block-2, #block-3").click(function () { $(this).toggleClass('front-page-blocks'); }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index b41c2bf..fba6109 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -172,8 +172,7 @@ $(document).ready(function () { } }); - if($(window).width() <= 640){ - alert("Aasdf"); + if($(window).width() <= 1024){ $("#block-1, #block-2, #block-3").click(function () { $(this).toggleClass('front-page-blocks'); }); diff --git a/parts/glm-blocks.php b/parts/glm-blocks.php index 1e5456c..4d62b9a 100644 --- a/parts/glm-blocks.php +++ b/parts/glm-blocks.php @@ -9,7 +9,7 @@ -
+