We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 150221c commit 613698cCopy full SHA for 613698c
www/index.js
@@ -608,8 +608,9 @@ function toggleTheme() {
608
}
609
610
function restoreSettings() {
611
- /* This one is global */
612
- compactSignature = localStorage.getItem('compactSignature') === 'true'
+ /* This one is global and defaults to true */
+ compactSignature = localStorage.getItem('compactSignature')
613
+ compactSignature = compactSignature === null ? true : compactSignature === 'true'
614
615
let theme = localStorage.getItem('theme')
616
if (!theme)
0 commit comments