From e32398b30820b511d51e2ca8d4c43417f1d22f32 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 29 Jan 2020 16:37:33 +0100 Subject: [PATCH] lint compliance --- www/common/outer/userObject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/outer/userObject.js b/www/common/outer/userObject.js index 004018c12..9cbd4b2c4 100644 --- a/www/common/outer/userObject.js +++ b/www/common/outer/userObject.js @@ -445,7 +445,7 @@ define([ } // Add to root if (path && exp.isPathIn(newPath, [ROOT])) { - var parentEl = exp.find(newPath); + parentEl = exp.find(newPath); if (parentEl) { var newName = exp.getAvailableName(parentEl, Hash.createChannelId()); parentEl[newName] = id;