Skip to content

Commit

Permalink
Lowercase searches
Browse files Browse the repository at this point in the history
  • Loading branch information
elmuerte committed Feb 23, 2024
1 parent cf35f54 commit 2eb81ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ <h1>Little Big Adventure Game Quotes <sup>αlpha</sup></h1>
}
if (
params.query &&
!quote.message.toLowerCase().includes(params.query)
!quote.message.toLowerCase().includes(params.query.toLowerCase())
) {
return false;
}
Expand Down

0 comments on commit 2eb81ab

Please sign in to comment.