Skip to content

Commit 8e14a13

Browse files
Mugen87mrdoob
authored andcommitted
Docs: Fix redirect for geometry generators. (#22153)
1 parent 2079f75 commit 8e14a13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ <h1><a href="https://threejs.org">three.js</a></h1>
8282

8383
// *BufferGeometry to *Geometry
8484

85-
if ( /([\w]+)BufferGeometry$/.exec( window.location.hash ) ) {
85+
if ( /^(?!.*(Instanced)).*BufferGeometry/.exec( window.location.hash ) ) {
8686

8787
window.location.hash = window.location.hash.replace( 'BufferGeometry', 'Geometry' );
8888

0 commit comments

Comments
 (0)