Minor change

This commit is contained in:
Eduard Urbach 2018-11-23 19:12:07 +09:00
parent 38e8a5df11
commit 667eea7c8e

View File

@ -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()
} }