File tree 1 file changed +0
-14
lines changed
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -204,19 +204,6 @@ function initCookieNotice() {
204
204
notice . classList . add ( activeClass ) ;
205
205
}
206
206
207
- function setupInlineToc ( ) {
208
- // Set up the inline TOC's ability to expand and collapse.
209
- const toggle = document . querySelectorAll ( '.site-toc--inline__toggle' ) ;
210
- toggle . forEach ( function ( toggle ) {
211
- toggle . addEventListener ( 'click' , ( _ ) => {
212
- const inlineToc = document . getElementById ( 'site-toc--inline' ) ;
213
- if ( inlineToc ) {
214
- inlineToc . classList . toggle ( 'toc-collapsed' ) ;
215
- }
216
- } ) ;
217
- } ) ;
218
- }
219
-
220
207
// A pattern to remove terminal command markers when copying code blocks.
221
208
const terminalReplacementPattern = / ^ ( \s * \$ \s * ) | ( C : \\ ( .* ) > \s * ) / gm;
222
209
@@ -354,5 +341,4 @@ document.addEventListener("DOMContentLoaded", function(_) {
354
341
setupTabs ( ) ;
355
342
356
343
adjustToc ( ) ;
357
- setupInlineToc ( ) ;
358
344
} ) ;
You can’t perform that action at this time.
0 commit comments