Doc change: start search suggestions at two characters instead of three, so that tv suggestions are enabled.

Change-Id: Ib7968010b0d0707a82ec51b1e63611628b8d465a
This commit is contained in:
Dirk Dougherty 2014-11-01 17:08:56 -07:00
parent 775b1abb12
commit 9b7f8f20ac
2 changed files with 5 additions and 5 deletions

View file

@ -1988,7 +1988,7 @@ function search_changed(e, kd, toroot)
// Search for matching JD docs // Search for matching JD docs
if (text.length >= 3) { if (text.length >= 2) {
// Regex to match only the beginning of a word // Regex to match only the beginning of a word
var textRegex = new RegExp("\\b" + text.toLowerCase(), "g"); var textRegex = new RegExp("\\b" + text.toLowerCase(), "g");

View file

@ -194,10 +194,10 @@ include:"header.cs" ?>
<?cs include:"trailer.cs" ?> <?cs include:"trailer.cs" ?>
<script src="https://developer.android.com/ytblogger_lists_unified.js" type="text/javascript"></script> <script src="https://developer.android.com/ytblogger_lists_unified.js" type="text/javascript"></script>
<script src="<?cs var:toroot ?>jd_lists_unified.js?v=3" type="text/javascript"></script> <script src="<?cs var:toroot ?>jd_lists_unified.js?v=4" type="text/javascript"></script>
<script src="<?cs var:toroot ?>jd_extras.js?v=4" type="text/javascript"></script> <script src="<?cs var:toroot ?>jd_extras.js?v=5" type="text/javascript"></script>
<script src="<?cs var:toroot ?>jd_collections.js?v=4" type="text/javascript"></script> <script src="<?cs var:toroot ?>jd_collections.js?v=5" type="text/javascript"></script>
<script src="<?cs var:toroot ?>jd_tag_helpers.js?v=3" type="text/javascript"></script> <script src="<?cs var:toroot ?>jd_tag_helpers.js?v=4" type="text/javascript"></script>
</body> </body>
</html> </html>