소스 검색

Update index.html

Fixed redirect.
Michael Herzog 4 년 전
부모
커밋
96e0b2b367
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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' );