Fix bug #4947: Now arrows works with the tags input opened

stable
Jesús Espino 2017-02-15 09:49:16 +01:00
parent face26f1c1
commit b36a15d230
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