mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Change the statusbar display timeout to 12s
This commit is contained in:
@@ -408,7 +408,7 @@ export const progressStatus = (data: IWebSocketData) => {
|
||||
statusElement.style.bottom = "0";
|
||||
statusTimeout = window.setTimeout(() => {
|
||||
statusElement.style.bottom = "";
|
||||
}, 7000);
|
||||
}, 12000);
|
||||
} else {
|
||||
const msgElement = statusElement.querySelector(".status__msg");
|
||||
if (msgElement) {
|
||||
@@ -416,7 +416,7 @@ export const progressStatus = (data: IWebSocketData) => {
|
||||
msgElement.innerHTML = data.msg;
|
||||
statusTimeout = window.setTimeout(() => {
|
||||
msgElement.innerHTML = "";
|
||||
}, 7000);
|
||||
}, 12000);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user