Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tiger2005 committed May 5, 2022
1 parent f474164 commit f9cc3ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
if(keyCounter.hasOwnProperty(i))
keyCounter[i] = 0;
currMaximum = 0;
hitTotal = 0;
if(keyHeatmap !== "none")
$(`.buttonDiv`).each(function(){
$(this).css("background", getColorFromPercent(0, keyHeatmap));
Expand Down

0 comments on commit f9cc3ab

Please sign in to comment.