Merge pull request #1231 from taigaio/bug/4947/arrows-working-when-tags-form-opened
Fix bug #4947: Now arrows works with the tags input openedstable
commit
63f116d4db
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue