mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
chore(client) lint: merge-if-statements
This commit is contained in:
parent
ed3bdf1586
commit
2f2cd58c30
1 changed files with 4 additions and 5 deletions
|
|
@ -111,11 +111,10 @@ function CloudCmdProto(DOM) {
|
|||
|
||||
let panelChanged;
|
||||
|
||||
if (!noCurrent)
|
||||
if (panel && panel !== Info.panel) {
|
||||
DOM.changePanel();
|
||||
panelChanged = true;
|
||||
}
|
||||
if (!noCurrent && panel && panel !== Info.panel) {
|
||||
DOM.changePanel();
|
||||
panelChanged = true;
|
||||
}
|
||||
|
||||
let imgPosition;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue