First working build™️

This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2023-03-31 12:29:46 -05:00
parent 63999b9286
commit 9b6b010da0

View File

@ -78,8 +78,9 @@ function arrayRotate(arr, reverse, amount) {
} }
function matchAbbr(abbrTarget) { function matchAbbr(abbrTarget) {
console.log("Looking for: " + abbrTarget);
for (var abbr in abbreviationKey.target_phrases) { for (var abbr in abbreviationKey.target_phrases) {
if (abbreviationKey.target_phrases[abbr] === abbrTarget) { if (abbreviationKey.target_phrases[abbr] == abbrTarget) {
return abbr; return abbr;
} else { } else {
return ""; return "";