mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
🎨 Change the statusbar display timeout to 12s
This commit is contained in:
parent
89f1887c3b
commit
2ce5ba72ee
1 changed files with 2 additions and 2 deletions
|
|
@ -408,7 +408,7 @@ export const progressStatus = (data: IWebSocketData) => {
|
||||||
statusElement.style.bottom = "0";
|
statusElement.style.bottom = "0";
|
||||||
statusTimeout = window.setTimeout(() => {
|
statusTimeout = window.setTimeout(() => {
|
||||||
statusElement.style.bottom = "";
|
statusElement.style.bottom = "";
|
||||||
}, 7000);
|
}, 12000);
|
||||||
} else {
|
} else {
|
||||||
const msgElement = statusElement.querySelector(".status__msg");
|
const msgElement = statusElement.querySelector(".status__msg");
|
||||||
if (msgElement) {
|
if (msgElement) {
|
||||||
|
|
@ -416,7 +416,7 @@ export const progressStatus = (data: IWebSocketData) => {
|
||||||
msgElement.innerHTML = data.msg;
|
msgElement.innerHTML = data.msg;
|
||||||
statusTimeout = window.setTimeout(() => {
|
statusTimeout = window.setTimeout(() => {
|
||||||
msgElement.innerHTML = "";
|
msgElement.innerHTML = "";
|
||||||
}, 7000);
|
}, 12000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue