We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 153f630 commit 806a6feCopy full SHA for 806a6fe
1 file changed
examples/jsm/inspector/ui/List.js
@@ -8,7 +8,7 @@ export class List {
8
this.domElement = document.createElement( 'div' );
9
this.domElement.className = 'list-container';
10
this.domElement.style.padding = '10px';
11
- this.id = `list-${Math.random().toString( 36 ).substr( 2, 9 )}`;
+ this.id = `list-${Math.random().toString( 36 ).slice( 2, 11 )}`;
12
this.domElement.dataset.listId = this.id;
13
14
this.gridStyleElement = document.createElement( 'style' );
0 commit comments