feature(cloudcmd) --one-panel-mode -> --one-file-panel

This commit is contained in:
coderaiser 2018-04-10 11:45:52 +03:00
parent 0cb953af85
commit 7e14d61a34
11 changed files with 8 additions and 75 deletions

View file

@ -225,7 +225,7 @@ function CloudCmdProto(Util, DOM) {
config[key] = value;
};
if (config.onePanelMode)
if (config.oneFilePanel)
CloudCmd.MIN_ONE_PANEL_WIDTH = Infinity;
exec.if(document.body.scrollIntoViewIfNeeded, func, funcBefore);
@ -372,7 +372,7 @@ function CloudCmdProto(Util, DOM) {
function getPanels() {
const panels = ['left'];
if (CloudCmd.config('onePanelMode'))
if (CloudCmd.config('oneFilePanel'))
return panels;
return [