chore(cloudcmd) lint

This commit is contained in:
coderaiser 2022-02-19 15:37:28 +02:00
parent 69c8eecaf1
commit 3ba6d4ae53
7 changed files with 10 additions and 20 deletions

View file

@ -830,7 +830,6 @@ module.exports.updateCurrentInfo = (currentFile) => {
info.isDir = DOM.isCurrentIsDir();
info.isSelected = DOM.isSelected(current);
info.panelPosition = DOM.getPanel().dataset.name.replace('js-', '');
info.isOnePanel =
info.panel.getAttribute('data-name') ===
info.isOnePanel = info.panel.getAttribute('data-name') ===
info.panelPassive.getAttribute('data-name');
};

View file

@ -228,8 +228,7 @@ function onAuthChange(checked) {
const elUsername = input.getElementByName('username', Element);
const elPassword = input.getElementByName('password', Element);
elUsername.disabled =
elPassword.disabled = !checked;
elUsername.disabled = elPassword.disabled = !checked;
}
function onNameChange(name) {

View file

@ -31,8 +31,7 @@ CloudCmd.sortPanel = (name, panel = getPanel()) => {
order[position] = 'asc';
}
sortPrevious =
sort[position] = name;
sortPrevious = sort[position] = name;
const noCurrent = position !== Info.panelPosition;