浏览代码

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

inokawa 3 年之前
父节点
当前提交
e9ee667219
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/index.html

+ 1 - 1
docs/index.html

@@ -72,7 +72,7 @@
 
 
 			// *BufferGeometry to *Geometry
 			// *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' );
 				window.location.hash = window.location.hash.replace( 'BufferGeometry', 'Geometry' );