mirror of
https://github.com/LukeSmithxyz/based.cooking.git
synced 2025-12-20 01:23:09 +00:00
Update content/_index.md
Co-authored-by: Steven Hall <Hallzy.18@gmail.com>
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user