From 093d5249c8250deb6c0e7293040d7591c3a074d7 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 28 Jan 2016 11:00:06 -0500 Subject: [PATCH] adjustin jquery function for adding class to off canvas menu link --- js/app.js | 2 +- js/custom/pageSetup.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/app.js b/js/app.js index 8b10bb9..d785365 100644 --- a/js/app.js +++ b/js/app.js @@ -220,5 +220,5 @@ var extraDay, end, arrival, currentDate, currentDate2, requiredDate, requiredDat $("#menu-top-menu-1").children("li").children("a.toggle").attr("href", "javascript:void(0)"); - $("#menu-top-menu-1").children("li").children("a:nth-child(1)").addClass("offCanvasLinks"); + $("#menu-top-menu-1").children("li:nth-child(2)").children("a:nth-child(1)").addClass("offCanvasLinks"); }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index d68c107..0034004 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -211,5 +211,5 @@ var extraDay, end, arrival, currentDate, currentDate2, requiredDate, requiredDat $("#menu-top-menu-1").children("li").children("a.toggle").attr("href", "javascript:void(0)"); - $("#menu-top-menu-1").children("li").children("a:nth-child(1)").addClass("offCanvasLinks"); + $("#menu-top-menu-1").children("li:nth-child(2)").children("a:nth-child(1)").addClass("offCanvasLinks"); }); -- 2.17.1