mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-19 21:00:14 +08:00
when refreshing cards in extra networks UI, do not discard user's custom resolution
This commit is contained in:
parent
f23e5ce2da
commit
5daf7983d1
@ -332,7 +332,7 @@ function extraNetworksRefreshSingleCard(page, tabname, name) {
|
|||||||
newDiv.innerHTML = data.html;
|
newDiv.innerHTML = data.html;
|
||||||
var newCard = newDiv.firstElementChild;
|
var newCard = newDiv.firstElementChild;
|
||||||
|
|
||||||
newCard.style = '';
|
newCard.style.display = '';
|
||||||
card.parentElement.insertBefore(newCard, card);
|
card.parentElement.insertBefore(newCard, card);
|
||||||
card.parentElement.removeChild(card);
|
card.parentElement.removeChild(card);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user