Przeglądaj źródła

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

inokawa 3 lat temu
rodzic
commit
e9ee667219
1 zmienionych plików z 1 dodań i 1 usunięć
  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' );