1
0
Fork 0
mirror of https://github.com/Luzifer/past3.git synced 2024-11-09 08:20:02 +00:00

Bind ctrl+r to refresh file list instead of reload window

This commit is contained in:
Knut Ahlers 2017-01-26 09:08:53 +01:00
parent a498c9fc04
commit d810a89a55
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -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