Skip to content

Commit 95647e9

Browse files
committed
Provide indication the search feature is still loading (Closes #295)
1 parent 05eb2fb commit 95647e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

template/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
>&nbsp;Perl 6 Documentation</a
55
>
66
<div id="search" class="ui-widget">
7-
<div class="green"><input placeholder="Search" autofocus id="query" title="Enter Perl 6 document to search for"></div>
7+
<div class="green"><input placeholder="Loading..." autofocus id="query" title="Enter Perl 6 document to search for"></div>
88
</div>
99
<div class="menu">
1010
MENU

template/search_template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $(function(){
3333
});
3434
}
3535
});
36-
$("#query").catcomplete({
36+
$("#query").attr('placeholder', 'Search').catcomplete({
3737
response: function( e, ui ) {
3838
if ( ! ui.content.length ) { $('#search').addClass( 'not-found') }
3939
else { $('#search').removeClass('not-found') }

0 commit comments

Comments
 (0)