File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
src/pydata_sphinx_theme/assets/scripts Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -562,6 +562,16 @@ if (hasVersionsJSON && (hasSwitcherMenu || wantsWarningBanner)) {
562562 }
563563}
564564
565+ /**
566+ * Fix bug #1603
567+ */
568+ function fixMoreLinksInMobileSidebar ( ) {
569+ const dropdown = document . querySelector (
570+ ".bd-sidebar-primary [id^=pst-nav-more-links]"
571+ ) ;
572+ dropdown . classList . add ( "show" ) ;
573+ }
574+
565575/*******************************************************************************
566576 * Call functions after document loading.
567577 */
@@ -571,3 +581,4 @@ documentReady(scrollToActive);
571581documentReady ( addTOCInteractivity ) ;
572582documentReady ( setupSearchButtons ) ;
573583documentReady ( initRTDObserver ) ;
584+ documentReady ( fixMoreLinksInMobileSidebar ) ;
You can’t perform that action at this time.
0 commit comments