From: Anthony Talarico Date: Tue, 2 Feb 2016 17:59:53 +0000 (-0500) Subject: removed search icon from top bar X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=29cf82b66cb90614559700fdd8460c205dd32154;p=WP-Themes%2Fmichsci.git removed search icon from top bar --- 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() {