From 0c814dd6b3f8b98cd39d6561fc67da140f5fe912 Mon Sep 17 00:00:00 2001 From: Lu ZongJing Date: Sat, 19 Nov 2016 21:35:58 +0800 Subject: [PATCH] Fix:Error occurs when attempt to rename a folder. --- src/dat/gui/GUI.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dat/gui/GUI.js b/src/dat/gui/GUI.js index e037111..e056513 100644 --- a/src/dat/gui/GUI.js +++ b/src/dat/gui/GUI.js @@ -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; } } },