fixed tab spam hiding timer

This commit is contained in:
Jack 2020-07-06 00:07:15 +01:00
parent ff934462ac
commit f46c52a477

View file

@ -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,
},