diff --git a/README.md b/README.md index 2300dfec..5eea8d6d 100644 --- a/README.md +++ b/README.md @@ -15,4 +15,4 @@ Photos from https://www.pexels.com/ under [CC0 license](https://www.pexels.com/p Background pattern from http://subtlepatterns.com/, commercial and non-commercial use allowed with attribution. - + diff --git a/index.html b/index.html index 21e3b386..ad6a8f68 100644 --- a/index.html +++ b/index.html @@ -882,12 +882,17 @@ this.props.onSearchContacts(query); } }, + handleKeyPress: function(e) { + if (e.key === 'Enter') { + this.handleSearch(e); + } + }, render: function() { return (