mirror of
https://github.com/pldubouilh/gossa
synced 2025-12-06 16:32:52 +01:00
fix js
This commit is contained in:
parent
8bcbcfd994
commit
aaf1eb8ddd
2 changed files with 6 additions and 2 deletions
|
|
@ -29,9 +29,10 @@ make ci
|
|||
```
|
||||
|
||||
### keyboard shortcuts
|
||||
* Arrows browse throughout the files/directories and pictures
|
||||
* Arrows/Enter browse throughout the files/directories and pictures
|
||||
* Ctrl/Meta + C copy selected path to clipboard
|
||||
* Ctrl/Meta + D create a new directory
|
||||
* \<any letter\> search on first letters in filename
|
||||
|
||||
### built blobs
|
||||
built blobs are available on the [release page](https://github.com/pldubouilh/gossa/releases).
|
||||
|
|
|
|||
|
|
@ -80,7 +80,6 @@ function postFile (file, path) {
|
|||
formData.append(file.name, file)
|
||||
|
||||
xhr.upload.addEventListener('progress', a => {
|
||||
console.log("YA")
|
||||
updatePercent(a.target.id, a.loaded / a.total)
|
||||
})
|
||||
|
||||
|
|
@ -346,6 +345,10 @@ document.body.addEventListener('keydown', e => {
|
|||
e.preventDefault()
|
||||
return picsToggle()
|
||||
}
|
||||
|
||||
case 'Enter':
|
||||
e.preventDefault()
|
||||
return picsOn(true) || picsNav(true) || getASelected().click()
|
||||
}
|
||||
|
||||
// Ctrl keys
|
||||
|
|
|
|||
Loading…
Reference in a new issue