Added missing toLowerCase()

This commit is contained in:
michalpokusa 2024-02-18 12:09:42 +00:00
parent 79fc691bfe
commit 7bd53a9786

View file

@ -418,7 +418,7 @@ function shouldDisplayDownload(download, displayedManufacturers, displayedMcufam
].join(" ").toLowerCase();
for (const term of downloadsSearch.searchTerm.split(" ")) {
for (const term of downloadsSearch.searchTerm.toLowerCase().split(" ")) {
if (!downloadData.includes(term)) {
return false;
}