Browse Source

Update index.html

Fixed redirect.
Michael Herzog 4 years ago
parent
commit
96e0b2b367
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/index.html

+ 1 - 1
docs/index.html

@@ -82,7 +82,7 @@
 
 			// *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' );