mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-08-01 12:13:18 +00:00
fix(client) baseInit: do not set history when hash preset
This commit is contained in:
parent
a7b861e4be
commit
efd68b6453
1 changed files with 6 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue