Skip to content

Commit

Permalink
Emmergency bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuclear-Squid committed Aug 10, 2024
1 parent 32b9833 commit 286c528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/layout-analyzer.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ window.addEventListener('DOMContentLoaded', () => {
if (pendingDeadKey)
char = keyboard.layout.deadKeys[pendingDeadKey][char];

return char.length === 1
return char?.length === 1
? [undefined, acc + char]
: [char, acc];
}, [nextPendingDeadKey, '']);
Expand Down

0 comments on commit 286c528

Please sign in to comment.