forked from extern/easydiffusion
Merge pull request #1248 from patriceac/patch-1
Fix restoration of inactive image modifiers
This commit is contained in:
commit
ca362ef78d
@ -246,7 +246,7 @@ function refreshInactiveTags(inactiveTags) {
|
||||
overlays.forEach((i) => {
|
||||
let modifierName = i.parentElement.getElementsByClassName("modifier-card-label")[0].getElementsByTagName("p")[0]
|
||||
.dataset.fullName
|
||||
if (inactiveTags?.find((element) => element === modifierName) !== undefined) {
|
||||
if (inactiveTags?.find((element) => trimModifiers(element) === modifierName) !== undefined) {
|
||||
i.parentElement.classList.add("modifier-toggle-inactive")
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user