[READ-ONLY] a fast, modern browser for the npm registry
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: uncheck server-rendered picker input (#1184)

authored by

Daniel Roe and committed by
GitHub
50d1abf4 90ca00f9

+7
+7
app/components/Settings/AccentColorPicker.vue
··· 10 10 const input = el.querySelector<HTMLInputElement>(`input[value="${id}"]`) 11 11 if (input) { 12 12 input.checked = true 13 + input.setAttribute('checked', '') 14 + } 15 + // Remove checked from the server-default (clear button, value="") 16 + const clearInput = el.querySelector<HTMLInputElement>('input[value=""]') 17 + if (clearInput) { 18 + clearInput.checked = false 19 + clearInput.removeAttribute('checked') 13 20 } 14 21 } 15 22 })