toggling live wpm will now actually hide it

This commit is contained in:
Jack 2020-08-14 23:10:34 +01:00
parent cb3f2bb9a1
commit 95c56f207a

View file

@ -2444,8 +2444,7 @@ function liveWpmAndRaw() {
}
function updateLiveWpm(wpm) {
if (!config.showLiveWpm) return;
if (!testActive) {
if (!testActive || !config.showLiveWpm) {
hideLiveWpm();
} else {
showLiveWpm();