summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-plugin-theme-default/src')
-rw-r--r--packages/gitbook-plugin-theme-default/src/components/Page.js2
-rw-r--r--packages/gitbook-plugin-theme-default/src/components/Sidebar.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/gitbook-plugin-theme-default/src/components/Page.js b/packages/gitbook-plugin-theme-default/src/components/Page.js
index 8bd7045..cad3765 100644
--- a/packages/gitbook-plugin-theme-default/src/components/Page.js
+++ b/packages/gitbook-plugin-theme-default/src/components/Page.js
@@ -11,7 +11,7 @@ const Page = React.createClass({
return (
<div className="Page page-wrapper">
- <GitBook.InjectedComponent matching={{ role: 'search:results' }} props={this.props}>
+ <GitBook.InjectedComponent matching={{ role: 'search:container:results' }} props={this.props}>
<GitBook.InjectedComponent matching={{ role: 'page:container' }} props={this.props}>
<GitBook.HTMLContent html={page.content} />
</GitBook.InjectedComponent>
diff --git a/packages/gitbook-plugin-theme-default/src/components/Sidebar.js b/packages/gitbook-plugin-theme-default/src/components/Sidebar.js
index c5f74ab..4a7fa53 100644
--- a/packages/gitbook-plugin-theme-default/src/components/Sidebar.js
+++ b/packages/gitbook-plugin-theme-default/src/components/Sidebar.js
@@ -13,7 +13,7 @@ const Sidebar = React.createClass({
return (
<div className="Sidebar book-summary">
- <GitBook.InjectedComponent matching={{ role: 'search:input' }} />
+ <GitBook.InjectedComponent matching={{ role: 'search:container:input' }} />
<Summary summary={summary} />
</div>
);