From: Anthony Talarico Date: Mon, 14 Mar 2016 20:06:51 +0000 (-0400) Subject: removing drop left class from top bar X-Git-Tag: v1.0.0^2~98 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=396d5a487d4e35fc6a73aba9c47a4eaae4155866;p=WP-Themes%2FDiscoverKZOO.git removing drop left class from top bar --- diff --git a/js/app.js b/js/app.js index d0db7da..c8d9273 100644 --- a/js/app.js +++ b/js/app.js @@ -54,10 +54,11 @@ $(document).ready(function () { // }); // }); // $("#menu-side").children("ul").addClass("sidebar"); - // remove drop down arrow icons from sub menu items $("#menu-menu-1").find(".dropdown").children("li").removeClass("has-dropdown"); + $("#menu-menu-1").children("li:nth-child(1)").removeClass("drop-left"); + $("#menu-menu-1").children("li:nth-child(2)").removeClass("drop-left"); // remove #/gallery/recent from url to track current page var url = window.location.href.replace("#/gallery/recent", ""); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index f1c3c64..62a1aca 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -47,6 +47,9 @@ $(document).ready(function () { // $("#menu-side").children("ul").addClass("sidebar"); // remove drop down arrow icons from sub menu items $("#menu-menu-1").find(".dropdown").children("li").removeClass("has-dropdown"); + + $("#menu-menu-1").children("li:nth-child(1)").removeClass("drop-left"); + $("#menu-menu-1").children("li:nth-child(2)").removeClass("drop-left"); // remove #/gallery/recent from url to track current page var url = window.location.href.replace("#/gallery/recent", "");