Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
arnog committed Aug 19, 2022
1 parent 5e08227 commit bf3309a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor-mathfield/keyboard-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export function onKeystroke(
return result;
}

if (mode === 'math') {
if (mathfield.mode === 'math') {
//
// 4.5 If this is the Space bar and we're just before or right after
// a text zone, or if `mathModeSpace` is enabled, insert the space
Expand Down

0 comments on commit bf3309a

Please sign in to comment.