Skip to content

Commit 613698c

Browse files
committed
Default to compact C-style signature
1 parent 150221c commit 613698c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

www/index.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -608,8 +608,9 @@ function toggleTheme() {
608608
}
609609

610610
function restoreSettings() {
611-
/* This one is global */
612-
compactSignature = localStorage.getItem('compactSignature') === 'true'
611+
/* This one is global and defaults to true */
612+
compactSignature = localStorage.getItem('compactSignature')
613+
compactSignature = compactSignature === null ? true : compactSignature === 'true'
613614

614615
let theme = localStorage.getItem('theme')
615616
if (!theme)

0 commit comments

Comments
 (0)