forked from openkylin/platform_build
am 9b7f8f20: Doc change: start search suggestions at two characters instead of three, so that tv suggestions are enabled.
* commit '9b7f8f20ac58133af551bc89e5f065a4e0f77103': Doc change: start search suggestions at two characters instead of three, so that tv suggestions are enabled.
This commit is contained in:
commit
963afcbb50
|
@ -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");
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue