diff --git a/lib/client.js b/lib/client.js index 7232c2bd..602605c1 100644 --- a/lib/client.js +++ b/lib/client.js @@ -302,7 +302,12 @@ var Util, DOM, CloudFunc, join; /* выделяем строку с первым файлом */ if (files) - DOM.setCurrentFile(files[0]); + DOM.setCurrentFile(files[0], { + // when hash is present + // it should be handled with this.route + // overwre otherwise + history: !location.hash + }); dirPath = DOM.getCurrentDirPath(), Listeners = CloudCmd.Listeners;