Skip to content

Commit c79e8a3

Browse files
committed
Fix typo in JS, add title to the search input box
1 parent 6f96ac9 commit c79e8a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<nav id="search-section" class="section project-section" class="initially-hidden">
22
<form action="#" method="get" accept-charset="utf-8">
33
<h3 class="section-header">
4-
<input type="text" name="search" placeholder="Search" id="search-field">
4+
<input type="text" name="search" placeholder="Search" id="search-field"
5+
title="Type to search, Up and Down to navigate, Enter to load">
56
</h3>
67
</form>
78

lib/rdoc/generator/template/darkfish/js/darkfish.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ function hookTableOfContentsToggle() {
6969
function hookSearch() {
7070
var input = $('#search-field').eq(0);
7171
var result = $('#search-results').eq(0);
72-
:wa
7372
$(result).show();
7473

7574
var search_section = $('#search-section').get(0);

0 commit comments

Comments
 (0)