diff --git a/client.js b/client.js index 350bf15c..93f04849 100644 --- a/client.js +++ b/client.js @@ -284,7 +284,7 @@ CloudClient._currentToParent = (function(pDirName){ /* if name length is big * then compare full names */ - if(lA.length >= CloudFunc.SHORTNAMELENGTH && + if(pDirName.length >= CloudFunc.SHORTNAMELENGTH && lA[0].title !== pDirName) break; /* если уже выделен какой-то файл, снимаем