mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-14 17:32:12 -05:00
Closes #778: Fix CSS class selector.
This commit is contained in:
1 parent
fb6b76a6c3
commit
478ffe5632
1 file changed
+2
-2
@@ -187,7 +187,7 @@ var Documentation = {
|
||||
}, 10);
|
||||
$('<li class="highlight-link"><a href="javascript:Documentation.' +
|
||||
'hideSearchWords()">' + _('Hide Search Matches') + '</a></li>')
|
||||
.appendTo($('.sidebar .this-page-menu'));
|
||||
.appendTo($('.sphinxsidebar .this-page-menu'));
|
||||
}
|
||||
},
|
||||
|
||||
@@ -213,7 +213,7 @@ var Documentation = {
|
||||
* helper function to hide the search marks again
|
||||
*/
|
||||
hideSearchWords : function() {
|
||||
$('.sidebar .this-page-menu li.highlight-link').fadeOut(300);
|
||||
$('.sphinxsidebar .this-page-menu li.highlight-link').fadeOut(300);
|
||||
$('span.highlighted').removeClass('highlighted');
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user