mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-12 23:20:25 +08:00
fixed chart not visible in safari
This commit is contained in:
parent
e4064c4b14
commit
6437434641
1 changed files with 2 additions and 1 deletions
|
@ -1869,9 +1869,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];
|
||||
|
|
Loading…
Reference in a new issue