summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/search/js/searchprovider.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/search/js/searchprovider.js b/core/search/js/searchprovider.js
index 1ba7d63b3fe..efd44d2784a 100644
--- a/core/search/js/searchprovider.js
+++ b/core/search/js/searchprovider.js
@@ -385,7 +385,7 @@
function(query) {
if (lastQuery !== query) {
currentResult = -1;
- if (query.length > 2) {
+ if (query.length > 1) {
self.search(query);
} else {
self.hideResults();