Enable no-return-assign and linting

This commit is contained in:
awsr
2026-01-02 18:43:26 -08:00
parent 6d4b79659e
commit ff542b743e
5 changed files with 43 additions and 28 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ async function initModels() {
`;
el.innerHTML = res.length > 0 ? ready() : warn();
el.style.display = 'block';
setTimeout(() => el.style.display = 'none', res.length === 0 ? 30000 : 1500);
setTimeout(() => { el.style.display = 'none'; }, res.length === 0 ? 30000 : 1500);
if (res.length === 0) {
if (en.classList.contains('hide')) gradioApp().getElementById('txt2img_extra_networks_btn').click();
const repeat = setInterval(() => {