Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use placeholder= rather than value= in search bar
This way, "Search" disappears when focus is put in the textarea
  • Loading branch information
Mouq committed Jun 16, 2014
1 parent d7a28e7 commit 4494168
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion TODO
Expand Up @@ -19,7 +19,6 @@ Definites:
* Add non-faded Camelia image for the index page
* Rewrite index page as index.pod so it can be automatically generated
* Fix redirection in app.pl to redirect to a 404 page
* Make "Search" disappear when the search bar is selected
* Normalize the titles of the Language docs a bit
Maybes:
* Add "Formalities" page
Expand Down
2 changes: 1 addition & 1 deletion template/header.html
Expand Up @@ -4,7 +4,7 @@
>&nbsp;Perl 6 Documentation</a
>
<div id="search" class="ui-widget">
<div class="green"><input value="Search" id="query" title="Enter Perl 6 document to search for"></div>
<div class="green"><input placeholder="Search" id="query" title="Enter Perl 6 document to search for"></div>
</div>
MENU
</div>
Expand Down

0 comments on commit 4494168

Please sign in to comment.