mirror of
https://github.com/ivabus/www
synced 2024-11-10 08:05:15 +03:00
hide loadmore if search is empty
This commit is contained in:
parent
1f77245138
commit
970578414d
|
@ -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