Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
fdim
· 7y ago · 0 comments
Oh my, so much code for document.body.classList.toggle('dark-mode', !!locaStorage.darkMode)
Comments
[–]
exogen
7y ago
Bug: the code you posted will always do nothing.