mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-12-23 23:49:11 +01:00
Fix restoration of inactive image modifiers
This commit is contained in:
parent
64cfd55065
commit
3f9ec378a0
@ -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