From 29cf82b66cb90614559700fdd8460c205dd32154 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 2 Feb 2016 12:59:53 -0500 Subject: [PATCH] removed search icon from top bar --- functions.php | 2 +- js/app.js | 9 ++++----- js/custom/upcp.js | 9 ++++----- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/functions.php b/functions.php index 51ac759..2d12e7f 100644 --- a/functions.php +++ b/functions.php @@ -54,7 +54,7 @@ if ( ! function_exists( 'michsci_top_bar' ) ) { 'container' => false, // remove nav container 'container_class' => '', // class of container - 'items_wrap' => '', + 'items_wrap' => '', 'menu' => '', // menu name 'menu_class' => '', // adding custom nav class diff --git a/js/app.js b/js/app.js index 77543c1..b81a963 100644 --- a/js/app.js +++ b/js/app.js @@ -167,7 +167,6 @@ $(document).ready(function () { $(categoriesListView).show(); $(gridView).css("display", "none"); $(listView).css("display", "none"); - } else if ($("#tagBox :checkbox:checked").length === 0){ $(".product").show(); } @@ -201,7 +200,7 @@ $(document).ready(function () { $("#blog-side-info-wrapper").insertBefore(gridView); $("#blog-side-info-wrapper").insertBefore(listView); - var link; + var link; $('#tags a').click(function() { link = $(this).attr('id'); createCookie("link", link); @@ -217,7 +216,7 @@ $(document).ready(function () { if (c.indexOf(name) == 0) return c.substring(name.length,c.length); } return ""; - } + } /////////////////////////////////////////////// var selectedTag = getCookie("link"); if(selectedTag){ @@ -231,8 +230,8 @@ $(document).ready(function () { $("#tagBox :checkbox:checked").each(function() { $("." + $(this).val()).show(); }); - } - } + } + } $.when( $(".hitarea").triggerHandler('click') ).done(function() { diff --git a/js/custom/upcp.js b/js/custom/upcp.js index a5b7a72..13ac722 100644 --- a/js/custom/upcp.js +++ b/js/custom/upcp.js @@ -147,7 +147,6 @@ $(document).ready(function () { $(categoriesListView).show(); $(gridView).css("display", "none"); $(listView).css("display", "none"); - } else if ($("#tagBox :checkbox:checked").length === 0){ $(".product").show(); } @@ -181,7 +180,7 @@ $(document).ready(function () { $("#blog-side-info-wrapper").insertBefore(gridView); $("#blog-side-info-wrapper").insertBefore(listView); - var link; + var link; $('#tags a').click(function() { link = $(this).attr('id'); createCookie("link", link); @@ -197,7 +196,7 @@ $(document).ready(function () { if (c.indexOf(name) == 0) return c.substring(name.length,c.length); } return ""; - } + } /////////////////////////////////////////////// var selectedTag = getCookie("link"); if(selectedTag){ @@ -211,8 +210,8 @@ $(document).ready(function () { $("#tagBox :checkbox:checked").each(function() { $("." + $(this).val()).show(); }); - } - } + } + } $.when( $(".hitarea").triggerHandler('click') ).done(function() { -- 2.17.1