assets/js/wordfinder-home.js in word-games-theme-3.1.8 vs assets/js/wordfinder-home.js in word-games-theme-3.1.9
- old
+ new
@@ -361,11 +361,11 @@
errorMsg.innerHTML = "";
wordCount.innerHTML = "";
if (serachValue) {
- serachValue = serachValue + startsWith.value + endsWith.value + mustInclude.value + inculdeWith.value + exculdeWith.value
+ serachValue = serachValue + startsWith.value.toLowerCase() + endsWith.value.toLowerCase() + mustInclude.value.toLowerCase() + inculdeWith.value.toLowerCase() + exculdeWith.value.toLowerCase()
}
worker.postMessage({
type: "api",
serachValue: serachValue,
selectedDictionary: selectedDictionary,
@@ -587,10 +587,10 @@
let itemHtml = "";
let points
let ScrabbleLetterScore = ScrabbleScore();
if (serachValue) {
- serachValue = serachValue + startsWith.value + endsWith.value + mustInclude.value + inculdeWith.value + exculdeWith.value
+ serachValue = serachValue + startsWith.value.toLowerCase() + endsWith.value.toLowerCase() + mustInclude.value.toLowerCase() + inculdeWith.value.toLowerCase() + exculdeWith.value.toLowerCase()
}
if (serachValue) {
var text1 = serachValue.replace("?", "");
var text2 = full_words[d];
var text3 = full_words[d];
\ No newline at end of file