Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit bf7ec4b

Browse files
committed
chore(ngdocs): change minimum search length requirement
1 parent f6be59c commit bf7ec4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/templates/js/docs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ docsApp.controller.DocsNavigationCtrl = ['$scope', '$location', 'docsSearch', fu
7070
}
7171

7272
$scope.search = function(q) {
73-
var MIN_SEARCH_LENGTH = 4;
73+
var MIN_SEARCH_LENGTH = 3;
7474
if(q.length >= MIN_SEARCH_LENGTH) {
7575
var results = docsSearch(q);
7676
var totalSections = 0;

0 commit comments

Comments
 (0)