Merge pull request #1231 from taigaio/bug/4947/arrows-working-when-tags-form-opened

Fix bug #4947: Now arrows works with the tags input opened
stable
David Barragán Merino 2017-02-15 13:32:03 +00:00 committed by GitHub
commit 63f116d4db
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ TagOptionDirective = () ->
link = (scope, el) ->
stop()
$(document).on "keydown.tags-keyboard-navigation", (event) =>
$(el).parent().on "keydown.tags-keyboard-navigation", (event) =>
code = if event.keyCode then event.keyCode else event.which
if code == 40 || code == 38