Narrow JS targeting for addig the expand links

This commit is contained in:
Ana Costa 2022-01-17 10:52:34 +00:00
parent d64dadf1ce
commit e680a0c33f
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -110,7 +110,7 @@ function ThemeNav () {
.wrap("<div class='wy-table-responsive citation'></div>");
// Add expand links to all parents of nested ul
$('.wy-menu-vertical ul').not('.simple').siblings('a').each(function () {
$('.wy-menu-vertical li > ul').not('.simple').siblings('a').each(function () {
var link = $(this);
expand =
$('<button class="toctree-expand" title="Open/close menu"></button>');