From: Anthony Talarico Date: Tue, 29 Dec 2015 21:32:43 +0000 (-0500) Subject: removed unnecessary jquery code X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=56f3a61e1d0dfc7353465a804d27d819fd1af72e;p=WP-Themes%2Fmichsci.git removed unnecessary jquery code --- diff --git a/js/app.js b/js/app.js index 4c5447f..98edef5 100644 --- a/js/app.js +++ b/js/app.js @@ -72,9 +72,6 @@ $(document).ready(function () { $("#catSubmit").submit(); }); - $('div').filter(function() { - return $(this).css('clear') == 'both'; - }).remove(); // show products if filter is selected else only display categories $("#tagBox :checkbox").click(function() { diff --git a/js/custom/upcp.js b/js/custom/upcp.js index f577fbd..8ddacf3 100644 --- a/js/custom/upcp.js +++ b/js/custom/upcp.js @@ -52,9 +52,6 @@ $(document).ready(function () { $("#catSubmit").submit(); }); - $('div').filter(function() { - return $(this).css('clear') == 'both'; - }).remove(); // show products if filter is selected else only display categories $("#tagBox :checkbox").click(function() {