File tree 1 file changed +0
-26
lines changed
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>
54
54
const panelScrim = document . getElementById ( 'panelScrim' ) ;
55
55
const previewsToggler = document . getElementById ( 'previewsToggler' ) ;
56
56
57
- const sectionLink = document . querySelector ( '#sections > a' ) ;
58
- const sectionDefaultHref = sectionLink . href ;
59
-
60
57
const links = { } ;
61
58
const validRedirects = new Map ( ) ;
62
59
const fragment = document . createDocumentFragment ( ) ;
@@ -128,10 +125,6 @@ <h1><a href="https://threejs.org">three.js</a></h1>
128
125
129
126
updateFilter ( files , tags ) ;
130
127
131
- } else {
132
-
133
- updateLink ( '' ) ;
134
-
135
128
}
136
129
137
130
// Events
@@ -289,25 +282,6 @@ <h1><a href="https://threejs.org">three.js</a></h1>
289
282
290
283
layoutList ( files ) ;
291
284
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
-
311
285
}
312
286
313
287
function filterExample ( file , exp , tags ) {
You can’t perform that action at this time.
0 commit comments