From ad9d7ffc1ee93f70cf4083917fe8afaaaad195d2 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 22 Jan 2016 15:47:52 -0500 Subject: [PATCH] removed onclick attr from block div --- js/app.js | 3 +-- js/custom/pageSetup.js | 3 +-- parts/glm-blocks.php | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) 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 @@ -
+