add style for code captions;

ignore sidenav headers for HRs

Change-Id: I6eb11d3629dd13d2c7ac297cc9fa3828ed59f170
This commit is contained in:
Scott Main
2012-09-21 14:33:43 -07:00
parent 7039b4a7bc
commit 582db97b23
2 changed files with 13 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ $(document).ready(function() {
$('.scroll-pane').jScrollPane( {verticalGutter:0} );
// add HRs below all H2s (except for a few other h2 variants)
$('h2').not('#qv h2').not('#tb h2').not('#devdoc-nav h2').css({marginBottom:0}).after('<hr/>');
$('h2').not('#qv h2').not('#tb h2').not('.sidebox h2').not('#devdoc-nav h2').css({marginBottom:0}).after('<hr/>');
// set search's onkeyup handler here so we can show suggestions
// even while search results are visible