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

Commit

Permalink
Merge pull request #160 from fastai/search-improvements
Browse files Browse the repository at this point in the history
[minor] improvement to search
  • Loading branch information
Hamel Husain authored Mar 2, 2020
2 parents 9fc99fa + d469478 commit 89baaac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _pages/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<script src="/assets/js/vendor/lunr.min.js"></script>
<script src="/assets/js/search.js"></script>

<form onSubmit="return lunr_search(document.getElementById('lunrsearch').value);">
<form onSubmit="return lunr_search(document.getElementById('lunrsearch').value);" onInput="return lunr_search(document.getElementById('lunrsearch').value);" autocomplete="off">
<p><input type="text" class="form-control input-block form-control" id="lunrsearch" name="q" maxlength="500" value="" placeholder="Search" /></p>
</form>
<div id="lunrsearchresults">
Expand Down

0 comments on commit 89baaac

Please sign in to comment.