Skip to content

Commit

Permalink
Merge pull request #87 from arnaudoisel/master
Browse files Browse the repository at this point in the history
Fix issue caused by update on the version 2.6 of docsearch library
  • Loading branch information
Simperfit authored Nov 8, 2018
2 parents 9985b71 + 5c75fec commit 23bfb4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/layout/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ Search.defaultProps = {
className: '',
};

export default scriptLoader('https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js')(Search);
export default scriptLoader('https://cdn.jsdelivr.net/docsearch.js/2.5/docsearch.min.js')(Search);
2 changes: 1 addition & 1 deletion src/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = class HTML extends React.Component {
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
{this.props.headComponents}
{css}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2.5/docsearch.min.css" />
</head>
<body>
{this.props.preBodyComponents}
Expand Down

0 comments on commit 23bfb4e

Please sign in to comment.