1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-08-17 06:00:33 +03:00

refactor(web app): change listen mic shortcut

This commit is contained in:
louistiti 2021-12-27 14:58:04 +08:00
parent b09eaed63d
commit a5769dce6e
No known key found for this signature in database
GPG Key ID: 7ECA3DD523793FE6
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
<small>
Use <kbd></kbd> <kbd></kbd> to browse history;
<kbd></kbd> to submit;
<kbd>alt + t to listen.</kbd>
<kbd>alt + c to listen.</kbd>
</small>
</div>
</main>

View File

@ -28,7 +28,7 @@ const onkeydowninput = (e, client) => {
}
const onkeydowndocument = (e, cb) => {
if (e.altKey && e.key === 't') {
if (e.altKey && e.key === 'c') {
cb()
}
}