summaryrefslogtreecommitdiffstats
path: root/apps/files/js/search.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/js/search.js')
-rw-r--r--apps/files/js/search.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files/js/search.js b/apps/files/js/search.js
index dd8d3a6e502..2c3c42cf496 100644
--- a/apps/files/js/search.js
+++ b/apps/files/js/search.js
@@ -159,7 +159,10 @@
if (self.fileAppLoaded()) {
OCA.Files.App.fileList.setFilter(query);
if (query.length > 2) {
- $('#nofilterresults').addClass('hidden');
+ //search is not started until 500msec have passed
+ window.setTimeout(function() {
+ $('#nofilterresults').addClass('hidden');
+ }, 500);
}
}
});