Skip to content
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.

Commit

Permalink
fix(content): #843 Fix delete key bindings for search
Browse files Browse the repository at this point in the history
  • Loading branch information
sarracini committed Jun 20, 2016
1 parent 82d975a commit 86f76c9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion content-src/components/Search/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,12 @@ const Search = React.createClass({
newIndex = -1;
numSuggestions--;
}
break;
this.setState({
activeIndex: newIndex,
activeSuggestionIndex: newSuggestionIndex,
activeEngineIndex: newEngineIndex
});
return;
case "Enter":
e.preventDefault();
// If the change settings button is selected, fire the action for it.
Expand Down

0 comments on commit 86f76c9

Please sign in to comment.