rustdoc: Fix search for something on the same page

This commit is contained in:
Alex Crichton
2013-09-27 11:06:07 -07:00
parent a925762c3b
commit b93678eca5
2 changed files with 20 additions and 7 deletions

View File

@@ -66,7 +66,8 @@ pub fn render<T: fmt::Default, S: fmt::Default>(
</form>
</nav>
<section class=\"content {ty}\">{content}</section>
<section id='main' class=\"content {ty}\">{content}</section>
<section id='search' class=\"content hidden\">{content}</section>
<section class=\"footer\"></section>