diff --git a/ui/plugins/ui/modifiers-toggle.plugin.js b/ui/plugins/ui/modifiers-toggle.plugin.js index e7416164..14eb5627 100644 --- a/ui/plugins/ui/modifiers-toggle.plugin.js +++ b/ui/plugins/ui/modifiers-toggle.plugin.js @@ -40,7 +40,7 @@ // refresh activeTags let modifierName = i.parentElement.getElementsByClassName('modifier-card-label')[0].getElementsByTagName("p")[0].dataset.fullName activeTags = activeTags.map(obj => { - if (obj.name === modifierName) { + if (trimModifiers(obj.name) === trimModifiers(modifierName)) { return {...obj, inactive: (obj.element.classList.contains('modifier-toggle-inactive'))}; }