Skip to content

Commit

Permalink
Docs: *BufferGeometry redirect code clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Jul 20, 2021
1 parent e761952 commit ec5fb63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h1><a href="https://threejs.org">three.js</a></h1>

// *BufferGeometry to *Geometry

if ( window.location.hash.includes( 'Instanced' ) === false && /([\w]+)BufferGeometry$/.exec( window.location.hash ) ) {
if ( /Instanced/.exec( window.location.hash ) !== null && /([\w]+)BufferGeometry$/.exec( window.location.hash ) ) {

window.location.hash = window.location.hash.replace( 'BufferGeometry', 'Geometry' );

Expand Down

0 comments on commit ec5fb63

Please sign in to comment.