mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
Fix:Error occurs when attempt to rename a folder.
This commit is contained in:
parent
d5b6178e33
commit
0c814dd6b3
@ -246,8 +246,8 @@ const GUI = function(pars) {
|
||||
set: function(v) {
|
||||
// TODO Check for collisions among sibling folders
|
||||
params.name = v;
|
||||
if (titleRowName) {
|
||||
titleRowName.innerHTML = params.name;
|
||||
if (titleRow) {
|
||||
titleRow.innerHTML = params.name;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user