Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
Fix redirect.
  • Loading branch information
Mugen87 authored Jul 20, 2021
1 parent ca53562 commit 35bdc42
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 ( /^(?!.*(Instanced)).*BufferGeometry/.exec( window.location.hash ) ) {
if ( window.location.hash.includes( 'Instanced' ) === false && /([\w]+)BufferGeometry$/.exec( window.location.hash ) ) {

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

Expand Down

0 comments on commit 35bdc42

Please sign in to comment.