mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-29 19:05:05 +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;
|
||||
var newCard = newDiv.firstElementChild;
|
||||
|
||||
newCard.style = '';
|
||||
newCard.style.display = '';
|
||||
card.parentElement.insertBefore(newCard, card);
|
||||
card.parentElement.removeChild(card);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user