mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 23:38:49 +01:00
⚡ Improve document tree expansion and database loading performance https://github.com/siyuan-note/siyuan/issues/12428
This commit is contained in:
parent
42c9a1210a
commit
d131965636
1 changed files with 2 additions and 1 deletions
|
|
@ -101,7 +101,8 @@ export const hideMessage = (id?: string) => {
|
|||
setTimeout(() => {
|
||||
messageElement.remove();
|
||||
if (messagesElement.childElementCount === 0) {
|
||||
hideMessage();
|
||||
messagesElement.parentElement.classList.remove("b3-snackbars--show");
|
||||
messagesElement.innerHTML = "";
|
||||
}
|
||||
}, Constants.TIMEOUT_INPUT);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue