mirror of
https://github.com/LukeSmithxyz/based.cooking.git
synced 2025-03-13 13:28:21 +00:00
Update content/_index.md
Co-authored-by: Steven Hall <Hallzy.18@gmail.com>
This commit is contained in:
parent
6fff64138e
commit
98ef1758d4
@ -33,7 +33,12 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
el.hidden = !isMatch
|
||||
el.classList.toggle('matched-recipe', isMatch && searchText.length !== 0);
|
||||
artlist.classList.add('list-searched');
|
||||
if (hasFilter && isMatch) {
|
||||
matchCount++;
|
||||
}
|
||||
})
|
||||
|
||||
ul.classList.toggle('is-filtered', matchCount > 0);
|
||||
})
|
||||
|
||||
clearSearch.addEventListener('click', e => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user