File tree 2 files changed +0
-60
lines changed
2 files changed +0
-60
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ <h1><a href="https://threejs.org">three.js</a></h1>
53
53
const exitSearchButton = document . getElementById ( 'exitSearchButton' ) ;
54
54
const panelScrim = document . getElementById ( 'panelScrim' ) ;
55
55
const filterInput = document . getElementById ( 'filterInput' ) ;
56
- const sectionLink = document . querySelector ( '#sections > a' ) ;
57
56
let iframe = document . querySelector ( 'iframe' ) ;
58
57
59
58
const pageProperties = { } ;
@@ -186,10 +185,6 @@ <h1><a href="https://threejs.org">three.js</a></h1>
186
185
187
186
updateFilter ( ) ;
188
187
189
- } else {
190
-
191
- updateLink ( '' ) ;
192
-
193
188
}
194
189
195
190
}
@@ -392,31 +387,6 @@ <h1><a href="https://threejs.org">three.js</a></h1>
392
387
393
388
displayFilteredPanel ( ) ;
394
389
395
- updateLink ( v ) ;
396
-
397
- }
398
-
399
- function updateLink ( search ) {
400
-
401
- // update examples link
402
-
403
- if ( ! sectionLink . href2 ) {
404
-
405
- sectionLink . href2 = sectionLink . href ;
406
-
407
- }
408
-
409
- if ( search ) {
410
-
411
- let link = sectionLink . href . split ( / [ ? # ] / ) [ 0 ] ;
412
- sectionLink . href = `${ link } ?q=${ search } ` ;
413
-
414
- } else {
415
-
416
- sectionLink . href = sectionLink . href2 ;
417
-
418
- }
419
-
420
390
}
421
391
422
392
function displayFilteredPanel ( ) {
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ <h1><a href="https://threejs.org">three.js</a></h1>
53
53
const expandButton = document . getElementById ( 'expandButton' ) ;
54
54
const viewSrcButton = document . getElementById ( 'button' ) ;
55
55
const panelScrim = document . getElementById ( 'panelScrim' ) ;
56
- const sectionLink = document . querySelector ( '#sections > a' ) ;
57
56
58
57
const previewsToggler = document . getElementById ( 'previewsToggler' ) ;
59
58
@@ -121,10 +120,6 @@ <h1><a href="https://threejs.org">three.js</a></h1>
121
120
122
121
updateFilter ( files , tags ) ;
123
122
124
- } else {
125
-
126
- updateLink ( '' ) ;
127
-
128
123
}
129
124
130
125
// Events
@@ -272,31 +267,6 @@ <h1><a href="https://threejs.org">three.js</a></h1>
272
267
273
268
layoutList ( files ) ;
274
269
275
- updateLink ( v ) ;
276
-
277
- }
278
-
279
- function updateLink ( search ) {
280
-
281
- // update examples link
282
-
283
- if ( ! sectionLink . href2 ) {
284
-
285
- sectionLink . href2 = sectionLink . href ;
286
-
287
- }
288
-
289
- if ( search ) {
290
-
291
- let link = sectionLink . href . split ( / [ ? # ] / ) [ 0 ] ;
292
- sectionLink . href = `${ link } ?q=${ search } ` ;
293
-
294
- } else {
295
-
296
- sectionLink . href = sectionLink . href2 ;
297
-
298
- }
299
-
300
270
}
301
271
302
272
function filterExample ( file , exp , tags ) {
You can’t perform that action at this time.
0 commit comments