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
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");