434
editsAd placeholder
User:Crashaholic/citizen.js: Difference between revisions
Jump to navigation
Jump to search
m
refresh the page cuz im going full jank heh
Crashaholic (talk | contribs) No edit summary |
Crashaholic (talk | contribs) m (refresh the page cuz im going full jank heh) |
||
Line 30: | Line 30: | ||
set_var("--color-base--subtle", "hsl(var(--color-primary__h),var(--color-primary__s),calc(var(--color-primary__l) * 0.5))"); | set_var("--color-base--subtle", "hsl(var(--color-primary__h),var(--color-primary__s),calc(var(--color-primary__l) * 0.5))"); | ||
} | } | ||
function refreshPage() | |||
{ | |||
location.reload(); | |||
return false; | |||
} | |||
$('#citizen-pref-theme-option-auto').attr('onClick', 'refreshPage();'); | |||
$('#citizen-pref-theme-option-dark').attr('onClick', 'refreshPage();'); | |||
$('#citizen-pref-theme-option-light').attr('onClick', 'refreshPage();'); |