mirror of
https://github.com/pldubouilh/gossa.git
synced 2026-08-29 05:16:33 -04:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a501f0be35 |
@@ -29,7 +29,7 @@ make ci
|
|||||||
```
|
```
|
||||||
|
|
||||||
### keyboard shortcuts
|
### 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 + C copy selected path to clipboard
|
||||||
* Ctrl/Meta + D create a new directory
|
* Ctrl/Meta + D create a new directory
|
||||||
|
|
||||||
|
|||||||
@@ -80,7 +80,6 @@ function postFile (file, path) {
|
|||||||
formData.append(file.name, file)
|
formData.append(file.name, file)
|
||||||
|
|
||||||
xhr.upload.addEventListener('progress', a => {
|
xhr.upload.addEventListener('progress', a => {
|
||||||
console.log("YA")
|
|
||||||
updatePercent(a.target.id, a.loaded / a.total)
|
updatePercent(a.target.id, a.loaded / a.total)
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -346,6 +345,10 @@ document.body.addEventListener('keydown', e => {
|
|||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
return picsToggle()
|
return picsToggle()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case 'Enter':
|
||||||
|
e.preventDefault()
|
||||||
|
return picsOn(true) || picsNav(true) || getASelected().click()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ctrl keys
|
// Ctrl keys
|
||||||
|
|||||||
Reference in New Issue
Block a user