mirror of
https://github.com/ivabus/www
synced 2024-11-22 14:15:06 +03:00
hide loadmore if search is empty
This commit is contained in:
parent
1f77245138
commit
970578414d
1 changed files with 3 additions and 0 deletions
|
@ -145,10 +145,13 @@
|
|||
}
|
||||
|
||||
if (searchCount) {
|
||||
loadMoreSection.classList.remove('hidden');
|
||||
noResult.classList.remove('show');
|
||||
} else {
|
||||
loadMoreSection.classList.add('hidden');
|
||||
noResult.classList.add('show');
|
||||
}
|
||||
|
||||
} else {
|
||||
noResult.classList.remove('show');
|
||||
sortPackages();
|
||||
|
|
Loading…
Reference in a new issue