Skip to content

Commit

Permalink
查詢比對都轉成小寫比對
Browse files Browse the repository at this point in the history
  • Loading branch information
joe committed May 4, 2023
1 parent 0dc85ae commit 4dba9d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -4922,7 +4922,7 @@ function findGroupAndIndex(promptId) {
customTemplateButton.style.display = "block";
return;
}
if (customTemplateButton.title.includes(event.target.value)) {
if (customTemplateButton.title.toLowerCase().includes(event.target.value?.toLowerCase())) {
customTemplateButton.style.display = "block";
} else {
customTemplateButton.style.display = "none";
Expand Down

0 comments on commit 4dba9d6

Please sign in to comment.