mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 16:23:28 +01:00
DOM tweaking to identify custom categories
This is purely a DOM update to be able to identify the custom category a given custom image modifier is part of, e.g. using .closest() from a custom modifier plugin. No UI change.
This commit is contained in:
parent
45a2c9f7ef
commit
a6f94959fe
@ -115,6 +115,7 @@ function createModifierGroup(modifierGroup, initiallyExpanded, removeBy) {
|
||||
modifiersEl.appendChild(brk)
|
||||
|
||||
let e = document.createElement('div')
|
||||
e.className = 'custom-modifier-category'
|
||||
e.appendChild(titleEl)
|
||||
e.appendChild(modifiersEl)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user