From: Anthony Talarico Date: Thu, 28 Jan 2016 16:00:06 +0000 (-0500) Subject: adjustin jquery function for adding class to off canvas menu link X-Git-Tag: v1.0.0^2~39 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=093d5249c8250deb6c0e7293040d7591c3a074d7;p=WP-Themes%2Fsaultstemarie.git adjustin jquery function for adding class to off canvas menu link --- 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"); });