From: Laury GvR Date: Wed, 16 Aug 2017 18:07:24 +0000 (-0400) Subject: No longer remove first child of off-canvas navigation submenus X-Git-Tag: v1.0.5^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=28c98ade5b9016e89c0c99d5f0a37bd6f6a881ef;p=WP-Themes%2Ftruenorthgolf.git No longer remove first child of off-canvas navigation submenus --- diff --git a/js/app.js b/js/app.js index 72057b9..3c112af 100644 --- a/js/app.js +++ b/js/app.js @@ -17,7 +17,7 @@ $(document).ready(function () { $(this).toggleClass('open'); $(this).siblings('ul').toggleClass('open'); }); - $('.left-off-canvas-list:nth-child(2) li:first-child').hide(); + $('.title.back.js-generated').each(function() { $(this).hide(); }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 843b2ed..6c79d42 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -8,7 +8,7 @@ $(document).ready(function () { $(this).toggleClass('open'); $(this).siblings('ul').toggleClass('open'); }); - $('.left-off-canvas-list:nth-child(2) li:first-child').hide(); + $('.title.back.js-generated').each(function() { $(this).hide(); });