mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-25 17:54:43 +03:00
refactor(web app): change listen mic shortcut
This commit is contained in:
parent
b09eaed63d
commit
a5769dce6e
@ -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>
|
||||
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user