Просмотр исходного кода

Update index.html

Fix redirect.
Michael Herzog 4 лет назад
Родитель
Сommit
35bdc42a81
1 измененных файлов с 1 добавлено и 1 удалено
  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' );