Browse Source

Docs: *BufferGeometry redirect code clean up.

Mr.doob 4 years ago
parent
commit
ec5fb63a0b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/index.html

+ 1 - 1
docs/index.html

@@ -68,7 +68,7 @@
 
 			// *BufferGeometry to *Geometry
 
-			if ( window.location.hash.includes( 'Instanced' ) === false && /([\w]+)BufferGeometry$/.exec( window.location.hash ) ) {
+			if ( /Instanced/.exec( window.location.hash ) !== null && /([\w]+)BufferGeometry$/.exec( window.location.hash ) ) {
 
 				window.location.hash = window.location.hash.replace( 'BufferGeometry', 'Geometry' );