Skip to content

Commit

Permalink
Update typeahead_view.js
Browse files Browse the repository at this point in the history
Added 'tabKeyed' to trigger of _handleSelection as requested in twitter#258
  • Loading branch information
steswinbank committed May 28, 2013
1 parent 5424f42 commit 8c493d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typeahead_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ var TypeaheadView = (function() {
.on('focused', this._openDropdown)
.on('blured', this._closeDropdown)
.on('blured', this._setInputValueToQuery)
.on('enterKeyed', this._handleSelection)
.on('enterKeyed tabKeyed', this._handleSelection)
.on('queryChanged', this._clearHint)
.on('queryChanged', this._clearSuggestions)
.on('queryChanged', this._getSuggestions)
Expand Down

0 comments on commit 8c493d5

Please sign in to comment.