File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ const GUI = function(pars) {
177
177
localStorage . getItem ( getLocalStorageHash ( this , 'isLocal' ) ) === 'true' ;
178
178
179
179
let saveToLocalStorage ;
180
+ let titleRow ;
180
181
181
182
Object . defineProperties ( this ,
182
183
/** @lends GUI.prototype */
@@ -267,8 +268,8 @@ const GUI = function(pars) {
267
268
set : function ( v ) {
268
269
// TODO Check for collisions among sibling folders
269
270
params . name = v ;
270
- if ( titleRowName ) {
271
- titleRowName . innerHTML = params . name ;
271
+ if ( titleRow ) {
272
+ titleRow . innerHTML = params . name ;
272
273
}
273
274
}
274
275
} ,
@@ -376,7 +377,7 @@ const GUI = function(pars) {
376
377
const titleRowName = document . createTextNode ( params . name ) ;
377
378
dom . addClass ( titleRowName , 'controller-name' ) ;
378
379
379
- const titleRow = addRow ( _this , titleRowName ) ;
380
+ titleRow = addRow ( _this , titleRowName ) ;
380
381
381
382
const onClickTitle = function ( e ) {
382
383
e . preventDefault ( ) ;
You can’t perform that action at this time.
0 commit comments