mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
delay hiding no results message until search is triggered
This commit is contained in:
parent
818e7388c4
commit
ba235eb51d
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue