Skip to content

Commit

Permalink
Fix search in Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mstijak committed Nov 11, 2018
1 parent 4393319 commit 380c42e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/components/DocSearch.js
Expand Up @@ -5,8 +5,8 @@ export class DocSearch extends VDOM.Component
render() {
return <input
type="text"
id="docsearch"
placeholder="Search..."
ref={el => this.el = el}
className="docsearch"
/>
}
Expand All @@ -17,7 +17,7 @@ export class DocSearch extends VDOM.Component
docsearch({
apiKey: 'b77ab797ddcee40f03751aeb694168ed',
indexName: 'cxjs',
inputSelector: this.el,
inputSelector: '#docsearch',
debug: false // Set debug to true if you want to inspect the dropdown
});
}
Expand Down

0 comments on commit 380c42e

Please sign in to comment.