chore(client) lint: merge-if-statements

This commit is contained in:
coderaiser 2019-07-08 12:18:07 +03:00
parent ed3bdf1586
commit 2f2cd58c30

View file

@ -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;