mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
refactor(listeners) isNoCurrent
This commit is contained in:
parent
493edf8cc5
commit
bb44a14780
1 changed files with 1 additions and 4 deletions
|
|
@ -171,11 +171,8 @@ function isNoCurrent(panel) {
|
|||
const infoPanel = Info.panel;
|
||||
const namePanel = panel.getAttribute('data-name');
|
||||
const nameInfoPanel = infoPanel.getAttribute('data-name');
|
||||
|
||||
if (namePanel !== nameInfoPanel)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
return namePanel !== nameInfoPanel
|
||||
}
|
||||
|
||||
function decodePath(path){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue