diff --git a/src/skins/vector/views/molecules/SearchBar.js b/src/skins/vector/views/molecules/SearchBar.js index aa72ee8d..da1dfb6b 100644 --- a/src/skins/vector/views/molecules/SearchBar.js +++ b/src/skins/vector/views/molecules/SearchBar.js @@ -43,13 +43,15 @@ module.exports = React.createClass({ }, onSearchChange: function(e) { - + if (e.keyCode === 13) { + this.props.onSearch(this.refs.search_term.getDOMNode().value); + } }, - + render: function() { return (