We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c04f042 commit 11af3fcCopy full SHA for 11af3fc
src/pydata_sphinx_theme/assets/scripts/pydata-sphinx-theme.js
@@ -581,7 +581,9 @@ function fixMoreLinksInMobileSidebar() {
581
const dropdown = document.querySelector(
582
".bd-sidebar-primary [id^=pst-nav-more-links]"
583
);
584
- dropdown.classList.add("show");
+ if (dropdown !== null) {
585
+ dropdown.classList.add("show");
586
+ }
587
}
588
589
/*******************************************************************************
0 commit comments