mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
🚨
This commit is contained in:
parent
ae960beb47
commit
085b4a5ec4
2 changed files with 14 additions and 14 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue