Update model-manager.js

This commit is contained in:
EtSL33py
2024-09-20 03:35:02 +03:00
parent 7a5d19eeec
commit 5abbd0ccb8

View File

@@ -5372,10 +5372,7 @@ class ModelManager extends ComfyDialog {
} else if (newSidebarState === 'Left') {
buttonNumb = 4;
}
const button = this.#sidebarButtonGroup.children[buttonNumb];
if(!button.classList.contains('radio-button-group-active')){
button.click();
}
this.#sidebarButtonGroup.children[buttonNumb].click();
}
{