mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-27 11:58:49 +01:00
💄
This commit is contained in:
parent
ae01b52ae3
commit
4a71829400
3 changed files with 3 additions and 8 deletions
|
|
@ -56,9 +56,9 @@ class App {
|
|||
break;
|
||||
case"syncing":
|
||||
if (data.code === 0) {
|
||||
document.querySelector("#barSync").classList.add("toolbar__item--sync");
|
||||
document.querySelector("#barSync").classList.add("toolbar__item--active");
|
||||
} else {
|
||||
document.querySelector("#barSync").classList.remove("toolbar__item--sync");
|
||||
document.querySelector("#barSync").classList.remove("toolbar__item--active");
|
||||
}
|
||||
document.querySelector("#barSync").setAttribute("aria-label", data.msg);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue