Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Commit

Permalink
Homepage: search input use type=search again [closes #118]
Browse files Browse the repository at this point in the history
  • Loading branch information
panekon1 authored and JanTvrdik committed Apr 26, 2013
1 parent a874ef6 commit 8051055
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/templates/Homepage/default.latte
Expand Up @@ -32,7 +32,7 @@
{/if}

<label for="search-query" class="hide">Search: </label>
<input type="text" name="query" id="search-query" class="addons-search input-full input-large" autofocus placeholder="type to search" class="hide">
<input type="search" name="query" id="search-query" class="addons-search input-full input-large" autofocus placeholder="type to search" class="hide">

<div class="addons-categorized-list">
{foreach $categories as $category}
Expand Down
2 changes: 1 addition & 1 deletion www/js/addons.js
Expand Up @@ -77,7 +77,7 @@ $(document).ready(function() {
}
});

$searchInput.keyup(function(e) {
$searchInput.on('search keyup', function(e) {
var query = $.trim(e.target.value).toLowerCase();
if (query.length === 0) {
$list.show();
Expand Down

0 comments on commit 8051055

Please sign in to comment.