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)) {
562
562
}
563
563
}
564
564
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
+
565
575
/*******************************************************************************
566
576
* Call functions after document loading.
567
577
*/
@@ -571,3 +581,4 @@ documentReady(scrollToActive);
571
581
documentReady ( addTOCInteractivity ) ;
572
582
documentReady ( setupSearchButtons ) ;
573
583
documentReady ( initRTDObserver ) ;
584
+ documentReady ( fixMoreLinksInMobileSidebar ) ;
You can’t perform that action at this time.
0 commit comments