mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-04-09 18:49:11 +02:00
Open the color box when the custom label is clicked
This commit is contained in:
parent
c9e34457cd
commit
ff43dac2a7
@ -148,6 +148,9 @@ var IMAGE_EDITOR_SECTIONS = [
|
|||||||
element.appendChild(input)
|
element.appendChild(input)
|
||||||
var span = document.createElement("span")
|
var span = document.createElement("span")
|
||||||
span.textContent = "Custom"
|
span.textContent = "Custom"
|
||||||
|
span.onclick = function(e) {
|
||||||
|
input.click()
|
||||||
|
}
|
||||||
element.appendChild(span)
|
element.appendChild(span)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user