Ver Fonte

Update index.html

Fix redirect.
Michael Herzog há 4 anos atrás
pai
commit
35bdc42a81
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      docs/index.html

+ 1 - 1
docs/index.html

@@ -68,7 +68,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' );