mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Narrow JS targeting for addig the expand links
This commit is contained in:
parent
d64dadf1ce
commit
e680a0c33f
File diff suppressed because one or more lines are too long
@ -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>');
|
||||
|
Loading…
Reference in New Issue
Block a user