File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -54,9 +54,6 @@ <h1><a href="https://threejs.org">three.js</a></h1>
5454 const panelScrim = document . getElementById ( 'panelScrim' ) ;
5555 const previewsToggler = document . getElementById ( 'previewsToggler' ) ;
5656
57- const sectionLink = document . querySelector ( '#sections > a' ) ;
58- const sectionDefaultHref = sectionLink . href ;
59-
6057 const links = { } ;
6158 const validRedirects = new Map ( ) ;
6259 const fragment = document . createDocumentFragment ( ) ;
@@ -128,10 +125,6 @@ <h1><a href="https://threejs.org">three.js</a></h1>
128125
129126 updateFilter ( files , tags ) ;
130127
131- } else {
132-
133- updateLink ( '' ) ;
134-
135128 }
136129
137130 // Events
@@ -289,25 +282,6 @@ <h1><a href="https://threejs.org">three.js</a></h1>
289282
290283 layoutList ( files ) ;
291284
292- updateLink ( v ) ;
293-
294- }
295-
296- function updateLink ( search ) {
297-
298- // update docs link
299-
300- if ( search ) {
301-
302- const link = sectionLink . href . split ( / [ ? # ] / ) [ 0 ] ;
303- sectionLink . href = `${ link } ?q=${ search } ` ;
304-
305- } else {
306-
307- sectionLink . href = sectionDefaultHref ;
308-
309- }
310-
311285 }
312286
313287 function filterExample ( file , exp , tags ) {
You can’t perform that action at this time.
0 commit comments