From 396d5a487d4e35fc6a73aba9c47a4eaae4155866 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 14 Mar 2016 16:06:51 -0400 Subject: [PATCH] removing drop left class from top bar --- js/app.js | 3 ++- js/custom/pageSetup.js | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) 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", ""); -- 2.17.1