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. -![App screenshot](pic-20160130.png) +![App screenshot](web-topic.png) 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 (
- + search diff --git a/pic-20160130.png b/pic-20160130.png deleted file mode 100644 index 2ce595ec..00000000 Binary files a/pic-20160130.png and /dev/null differ diff --git a/web-topic.png b/web-topic.png new file mode 100644 index 00000000..b6cb61df Binary files /dev/null and b/web-topic.png differ