Revert "Fix issue #2758. Press Escape after a finished search to get back to … (#2939)"

This reverts commit 6377da8291.
This was already fixed in a95c17bce3
This commit is contained in:
Juan Tejada 2016-10-26 13:20:26 -07:00
parent 0d5301c9ce
commit 316933fa58

View file

@ -90,12 +90,6 @@ export default class SearchBar extends React.Component {
}, 150);
}
_onKeyDown = (event) => {
if (event.keyCode === 27) {
this._onClearAndBlur();
}
}
_doSearch = () => {
SearchActions.querySubmitted(this.state.query);
}
@ -148,7 +142,6 @@ export default class SearchBar extends React.Component {
onChange={this._onValueChange}
onFocus={this._onFocus}
onBlur={this._onBlur}
onKeyDown={this._onKeyDown}
/>,
loupeImg,
<RetinaImg