mirror of
https://github.com/Luzifer/past3.git
synced 2024-12-23 04:41:17 +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()
|
e.preventDefault()
|
||||||
return false
|
return false
|
||||||
|
|
||||||
|
if (e.metaKey or e.ctrlKey) and e.keyCode == 82 # cmd+r / ctrl+r
|
||||||
|
listFiles()
|
||||||
|
e.preventDefault()
|
||||||
|
return false
|
||||||
|
|
||||||
signinCallback = (authResult) ->
|
signinCallback = (authResult) ->
|
||||||
if authResult.Zi.id_token
|
if authResult.Zi.id_token
|
||||||
getAWSCredentials authResult.Zi.id_token
|
getAWSCredentials authResult.Zi.id_token
|
||||||
|
|
Loading…
Reference in a new issue