mirror of
https://github.com/Luzifer/past3.git
synced 2024-12-22 20:31:16 +00:00
Bind ctrl+r to refresh file list instead of reload window
This commit is contained in:
parent
a498c9fc04
commit
d810a89a55
1 changed files with 5 additions and 0 deletions
|
@ -58,6 +58,11 @@ $ ->
|
|||
e.preventDefault()
|
||||
return false
|
||||
|
||||
if (e.metaKey or e.ctrlKey) and e.keyCode == 82 # cmd+r / ctrl+r
|
||||
listFiles()
|
||||
e.preventDefault()
|
||||
return false
|
||||
|
||||
signinCallback = (authResult) ->
|
||||
if authResult.Zi.id_token
|
||||
getAWSCredentials authResult.Zi.id_token
|
||||
|
|
Loading…
Reference in a new issue