瀏覽代碼

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
 
-			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' );