[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: apply same fix to `<BgThemePicker>`

+2 -1
+2 -1
app/components/Settings/BgThemePicker.vue
··· 5 5 const settings = JSON.parse(localStorage.getItem('npmx-settings') || '{}') 6 6 const id = settings.preferredBackgroundTheme 7 7 if (id) { 8 - const input = el.querySelector<HTMLInputElement>(`input[value="${id || 'neutral'}"]`) 8 + const input = el.querySelector<HTMLInputElement>(`input[value="${id}"]`) 9 9 if (input) { 10 10 input.checked = true 11 + input.setAttribute('checked', '') 11 12 } 12 13 } 13 14 })