Skip to content

Commit 0e04127

Browse files
authored
Docs: Fix redirect for geometry generators. (#22153)
1 parent 22b7047 commit 0e04127

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
@@ -68,7 +68,7 @@ <h1><a href="https://threejs.org">three.js</a></h1>
6868

6969
// *BufferGeometry to *Geometry
7070

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

7373
window.location.hash = window.location.hash.replace( 'BufferGeometry', 'Geometry' );
7474

0 commit comments

Comments
 (0)