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

Restore "r" shortcut

Fixes "Reply with Selected Text" shortcut

See merge request !4041
This commit is contained in:
Jacob Schatz 2016-05-10 21:10:46 +00:00
commit f7d2297c86

View file

@ -6,6 +6,10 @@ class @ShortcutsIssuable extends ShortcutsNavigation
super()
Mousetrap.bind('a', @openSidebarDropdown.bind(@, 'assignee'))
Mousetrap.bind('m', @openSidebarDropdown.bind(@, 'milestone'))
Mousetrap.bind('r', =>
@replyWithSelectedText()
return false
)
Mousetrap.bind('j', =>
@prevIssue()
return false