Browse Source

docs: fix redirect condition for *BufferGeometry (#22680)

inokawa 3 years ago
parent
commit
e9ee667219
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/index.html

+ 1 - 1
docs/index.html

@@ -72,7 +72,7 @@
 
 			// *BufferGeometry to *Geometry
 
-			if ( /Instanced/.exec( window.location.hash ) !== null && /([\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' );