Commit f7d2297c authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'fix-r-shortcut' into 'master'

Restore "r" shortcut

Fixes "Reply with Selected Text" shortcut

See merge request !4041
parents 971662e6 17d23283
...@@ -6,6 +6,10 @@ class @ShortcutsIssuable extends ShortcutsNavigation ...@@ -6,6 +6,10 @@ class @ShortcutsIssuable extends ShortcutsNavigation
super() super()
Mousetrap.bind('a', @openSidebarDropdown.bind(@, 'assignee')) Mousetrap.bind('a', @openSidebarDropdown.bind(@, 'assignee'))
Mousetrap.bind('m', @openSidebarDropdown.bind(@, 'milestone')) Mousetrap.bind('m', @openSidebarDropdown.bind(@, 'milestone'))
Mousetrap.bind('r', =>
@replyWithSelectedText()
return false
)
Mousetrap.bind('j', => Mousetrap.bind('j', =>
@prevIssue() @prevIssue()
return false return false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment