Skip to content

Commit

Permalink
Merge pull request #81 from ShaneDelmore/main
Browse files Browse the repository at this point in the history
remove toLowerCase for keywords to allow uppercase in regex
  • Loading branch information
FMaz008 authored Mar 28, 2024
2 parents 51bd6c9 + 563cd47 commit f7aff46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions popup/homepage.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ function init() {
arr = document
.getElementById("generalhighlightKeywords")
.value.split(",")
.map((item) => item.toLowerCase().trim());
.map((item) => item.trim());
if (arr.length == 1 && arr[0] == "") arr = [];
appSettings.general.highlightKeywords = arr;
chrome.storage.local.set({ settings: appSettings });
Expand All @@ -375,7 +375,7 @@ function init() {
arr = document
.getElementById("generalhideKeywords")
.value.split(",")
.map((item) => item.toLowerCase().trim());
.map((item) => item.trim());
if (arr.length == 1 && arr[0] == "") arr = [];
appSettings.general.hideKeywords = arr;
chrome.storage.local.set({ settings: appSettings });
Expand Down

0 comments on commit f7aff46

Please sign in to comment.