fix: main repl option-dot on mac
This commit is contained in:
parent
7850fb727e
commit
3b4e44a9fd
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ export function Repl({ embedded = false }) {
|
|||
e.preventDefault();
|
||||
flash(view);
|
||||
await activateCode();
|
||||
} else if (e.key === '.' || e.keyCode === 'Period') {
|
||||
} else if (e.key === '.' || e.code === 'Period') {
|
||||
stop();
|
||||
e.preventDefault();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue