mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-31 03:08:29 +08:00
fixed tab spam hiding timer
This commit is contained in:
parent
ff934462ac
commit
f46c52a477
1 changed files with 2 additions and 2 deletions
|
|
@ -567,14 +567,14 @@ function highlightBadWord(index, showError) {
|
|||
function showTimer() {
|
||||
if (!config.showTimerBar) return;
|
||||
if (config.timerStyle === "bar") {
|
||||
$("#timerWrapper").animate(
|
||||
$("#timerWrapper").removeClass("hidden").animate(
|
||||
{
|
||||
opacity: 1,
|
||||
},
|
||||
250
|
||||
);
|
||||
} else if (config.timerStyle === "text" && config.mode === "time") {
|
||||
$("#timerNumber").animate(
|
||||
$("#timerNumber").removeClass("hidden").animate(
|
||||
{
|
||||
opacity: 0.25,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue