This commit is contained in:
Vanessa 2022-10-06 21:08:32 +08:00
parent ae960beb47
commit 085b4a5ec4
2 changed files with 14 additions and 14 deletions

View file

@ -180,12 +180,12 @@ export const progressStatus = (data: IWebSocketData) => {
statusElement.innerHTML = data.msg;
statusElement.classList.remove("status--hide");
if (document.querySelector("keyboardToolbar").classList.contains("fn__none")) {
statusElement.style.bottom = "0"
statusElement.style.bottom = "0";
} else {
statusElement.style.bottom = "30px"
statusElement.style.bottom = "30px";
}
progressStatusTimeoutId = window.setTimeout(() => {
statusElement.style.bottom = ""
statusElement.style.bottom = "";
}, 6000);
return;
}