diff --git a/lib/client.js b/lib/client.js index 072623c9..aa598819 100644 --- a/lib/client.js +++ b/lib/client.js @@ -327,6 +327,7 @@ var Util, DOM, CloudFunc; /* Отображаем красивые пути */ var lSLASH = '/', + title = CloudFunc.getTitle(lCleanPath), lFSPath = decodeURI(pPath), lNOJSPath = Util.removeStr( lFSPath, '?json' ), lCleanPath = Util.removeStrOneTime( lNOJSPath, CloudFunc.FS ) || lSLASH, @@ -341,7 +342,7 @@ var Util, DOM, CloudFunc; if (!pOptions.nohistory) DOM.setHistory(lNOJSPath, null, lNOJSPath); - DOM.setTitle( CloudFunc.getTitle(lCleanPath) ); + DOM.setTitle(title); /* если доступен localStorage и * в нём есть нужная нам директория -