ソースを参照

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' );