First working build™️

This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2023-03-31 12:46:02 -05:00
parent 2895e6e455
commit b9c31fdac5

View File

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