This commit is contained in:
Jack 2020-08-01 14:08:47 +01:00
commit bedf5e0a16

View file

@ -1882,9 +1882,10 @@ function showResult(difficultyFailed = false) {
wpmOverTimeChart.options.scales.yAxes[1].ticks.max = maxChartVal;
wpmOverTimeChart.update({ duration: 0 });
wpmOverTimeChart.resize();
swapElements($("#words"), $("#result"), 250, () => {
$("#words").empty();
wpmOverTimeChart.resize();
// if (config.blindMode) {
// $.each($("#words .word"), (i, word) => {
// let input = inputHistory[i];