diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-09-27 11:06:07 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-09-27 11:06:07 -0700 |
| commit | b93678eca55fc6fcd6bfeb8f97613ebc52bc31a7 (patch) | |
| tree | 2e76db371295a692d8deecb1dbf67cbc4cab3c9b /src/librustdoc/html/layout.rs | |
| parent | a925762c3b1c1f7b3a272b7294c0ec9b4eb4fb6d (diff) | |
| download | rust-b93678eca55fc6fcd6bfeb8f97613ebc52bc31a7.tar.gz rust-b93678eca55fc6fcd6bfeb8f97613ebc52bc31a7.zip | |
rustdoc: Fix search for something on the same page
Diffstat (limited to 'src/librustdoc/html/layout.rs')
| -rw-r--r-- | src/librustdoc/html/layout.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs index 718bacc24fd..ac3e8a07d46 100644 --- a/src/librustdoc/html/layout.rs +++ b/src/librustdoc/html/layout.rs @@ -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> |
