Skip to content

Commit

Permalink
BUG
Browse files Browse the repository at this point in the history
the is a bug using key up. Line 401 replace next by prev.
  • Loading branch information
PedroLV authored Oct 20, 2017
1 parent 957bf8f commit 3f66439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap3-typeahead.js
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@

prev.addClass('active');
// added for screen reader
var newVal = this.updater(next.data('value'));
var newVal = this.updater(prev.data('value'));
this.$element.val(this.displayText(newVal) || newVal);
},

Expand Down

0 comments on commit 3f66439

Please sign in to comment.