aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/search.js
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2015-01-06 14:34:35 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2015-01-06 14:34:35 +0100
commit357fbd88bead4aecb5a4f24d5d1087cf96da730f (patch)
tree5de001bcb88ee3f485f24d5ee9c3fe60ef305fb2 /apps/files/js/search.js
parent926737fdb780d7c32a6ecf95445a4d17ddc222f2 (diff)
downloadnextcloud-server-357fbd88bead4aecb5a4f24d5d1087cf96da730f.tar.gz
nextcloud-server-357fbd88bead4aecb5a4f24d5d1087cf96da730f.zip
use class for no results div instead of id. the elements are not unique.
Diffstat (limited to 'apps/files/js/search.js')
-rw-r--r--apps/files/js/search.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/search.js b/apps/files/js/search.js
index 496c210232a..394bcb48603 100644
--- a/apps/files/js/search.js
+++ b/apps/files/js/search.js
@@ -48,7 +48,7 @@
}
}
function hideNoFilterResults() {
- var $nofilterresults = $('#nofilterresults');
+ var $nofilterresults = $('.nofilterresults');
if ( ! $nofilterresults.hasClass('hidden') ) {
$nofilterresults.addClass('hidden');
}
@@ -171,7 +171,7 @@
if (query.length > 2) {
//search is not started until 500msec have passed
window.setTimeout(function() {
- $('#nofilterresults').addClass('hidden');
+ $('.nofilterresults').addClass('hidden');
}, 500);
}
}