forked from openkylin/platform_build
am 963afcbb: am 9b7f8f20: Doc change: start search suggestions at two characters instead of three, so that tv suggestions are enabled.
* commit '963afcbb501d8757f049b25f5068313ee63ce4e8': Doc change: start search suggestions at two characters instead of three, so that tv suggestions are enabled.
This commit is contained in:
commit
b6dfc2d2f7
|
@ -1988,7 +1988,7 @@ function search_changed(e, kd, toroot)
|
|||
|
||||
|
||||
// Search for matching JD docs
|
||||
if (text.length >= 3) {
|
||||
if (text.length >= 2) {
|
||||
// Regex to match only the beginning of a word
|
||||
var textRegex = new RegExp("\\b" + text.toLowerCase(), "g");
|
||||
|
||||
|
|
|
@ -194,10 +194,10 @@ include:"header.cs" ?>
|
|||
|
||||
<?cs include:"trailer.cs" ?>
|
||||
<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_extras.js?v=4" type="text/javascript"></script>
|
||||
<script src="<?cs var:toroot ?>jd_collections.js?v=4" 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_lists_unified.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=5" type="text/javascript"></script>
|
||||
<script src="<?cs var:toroot ?>jd_tag_helpers.js?v=4" type="text/javascript"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue