keyboard-shortcuts: fixed missing go to pull requests shortcut.
This commit is contained in:
parent
44b53cd335
commit
6745626166
1 changed files with 4 additions and 0 deletions
|
|
@ -119,6 +119,10 @@ function setRCMouseBindings(repoName, repoLandingRev) {
|
|||
'f_path': ''
|
||||
});
|
||||
});
|
||||
Mousetrap.bind(['g p'], function(e) {
|
||||
window.location = pyroutes.url(
|
||||
'pullrequest_show_all', {'repo_name': repoName});
|
||||
});
|
||||
Mousetrap.bind(['g o'], function(e) {
|
||||
window.location = pyroutes.url(
|
||||
'edit_repo', {'repo_name': repoName});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue