mirror of
https://github.com/ivabus/www
synced 2024-11-22 14:35: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) {
|
if (searchCount) {
|
||||||
|
loadMoreSection.classList.remove('hidden');
|
||||||
noResult.classList.remove('show');
|
noResult.classList.remove('show');
|
||||||
} else {
|
} else {
|
||||||
|
loadMoreSection.classList.add('hidden');
|
||||||
noResult.classList.add('show');
|
noResult.classList.add('show');
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
noResult.classList.remove('show');
|
noResult.classList.remove('show');
|
||||||
sortPackages();
|
sortPackages();
|
||||||
|
|
Loading…
Reference in a new issue