Clicks the edit button instead of opening the dropdown

Fixes #2307
This commit is contained in:
Jacob Schatz 2016-01-25 22:34:34 -05:00
parent fd33b2cdc0
commit 28aa715811
1 changed files with 2 additions and 2 deletions

View File

@ -5,11 +5,11 @@ class @ShortcutsIssuable extends ShortcutsNavigation
constructor: (isMergeRequest) ->
super()
Mousetrap.bind('a', ->
$('.js-assignee').select2('open')
$('.block.assignee .edit-link').trigger('click')
return false
)
Mousetrap.bind('m', ->
$('.js-milestone').select2('open')
$('.block.milestone .edit-link').trigger('click')
return false
)
Mousetrap.bind('r', =>