From 87fc845b89730f98a15a0b81f765a10a6f45838a Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Wed, 21 Mar 2018 18:27:13 +0100 Subject: Fix focus on page load --- src/client/react/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/react/index.js') diff --git a/src/client/react/index.js b/src/client/react/index.js index 95cf2ab..2443ced 100644 --- a/src/client/react/index.js +++ b/src/client/react/index.js @@ -63,4 +63,4 @@ ReactDOM.render( // We only want to focus the input on page load. NOT on a in-javascript // redirect. This is because that is when people usually want to start typing. -document.querySelector('.search input').focus(); +document.querySelector('#searchInput').focus(); -- cgit v1.1