Skip to content

Commit

Permalink
fix /stats/ bug (#327)
Browse files Browse the repository at this point in the history
* fix search

* mobile opt + fixes

* quality of life small improvements and bugfixes

* bug fixes

* added plurality checker and deleted some comments

* a typo that was never caught

Co-authored-by: PerpetualCreativity <[email protected]>
  • Loading branch information
ML72 and PerpetualCreativity authored Dec 28, 2020
1 parent 52af26b commit 712b2d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/functions/siteAlgorithms.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function analyze(unitData) {
}

if(data.correct + data.wrong >= 100) {
favorites[unit.split(' ')[0].toLowerCase()].push("" + units);
favorites[unit.split(' ')[0].toLowerCase()].push("" + unit);
}
}

Expand Down

0 comments on commit 712b2d4

Please sign in to comment.