mirror of
https://github.com/pldubouilh/gossa
synced 2025-12-07 00:44:31 +01:00
implement keyboard shortcut for upload
This commit is contained in:
parent
b656951e81
commit
3e01b7a0ab
1 changed files with 3 additions and 0 deletions
|
|
@ -576,6 +576,9 @@ document.body.addEventListener('keydown', e => {
|
||||||
|
|
||||||
case 'KeyD':
|
case 'KeyD':
|
||||||
return prevent(e) || window.mkdirBtn()
|
return prevent(e) || window.mkdirBtn()
|
||||||
|
|
||||||
|
case 'KeyU':
|
||||||
|
return prevent(e) || manualUpload.click()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue