Skip to content

Commit 35bdc42

Browse files
authored
Update index.html
Fix redirect.
1 parent ca53562 commit 35bdc42

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 ( /^(?!.*(Instanced)).*BufferGeometry/.exec( window.location.hash ) ) {
71+
if ( window.location.hash.includes( 'Instanced' ) === false && /([\w]+)BufferGeometry$/.exec( window.location.hash ) ) {
7272

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

0 commit comments

Comments
 (0)