Minor change
This commit is contained in:
parent
38e8a5df11
commit
667eea7c8e
@ -172,8 +172,10 @@ export function pickColor(arn: AnimeNotifier, element: HTMLElement) {
|
|||||||
|
|
||||||
let input = document.createElement("input")
|
let input = document.createElement("input")
|
||||||
input.type = "color"
|
input.type = "color"
|
||||||
input.click()
|
|
||||||
input.oninput = () => {
|
input.oninput = () => {
|
||||||
rootStyle.setProperty(variableName, input.value)
|
rootStyle.setProperty(variableName, input.value)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input.click()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user