mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 17:40:13 +01:00
📱 s3
This commit is contained in:
parent
a14f700373
commit
62a5d1a339
3 changed files with 26 additions and 10 deletions
|
|
@ -435,15 +435,13 @@ ${accountHTML}
|
|||
event.stopPropagation();
|
||||
break;
|
||||
} else if (target.id === "menuSync") {
|
||||
if (!needSubscribe()) {
|
||||
closePanel();
|
||||
modelElement.style.top = "0";
|
||||
modelElement.querySelector(".toolbar__icon").innerHTML = '<use xlink:href="#iconCloud"></use>';
|
||||
modelElement.querySelector(".toolbar__text").textContent = window.siyuan.languages.cloud;
|
||||
modelMainElement.innerHTML = repos.genHTML();
|
||||
repos.element = modelMainElement;
|
||||
repos.bindEvent();
|
||||
}
|
||||
closePanel();
|
||||
modelElement.style.top = "0";
|
||||
modelElement.querySelector(".toolbar__icon").innerHTML = '<use xlink:href="#iconCloud"></use>';
|
||||
modelElement.querySelector(".toolbar__text").textContent = window.siyuan.languages.cloud;
|
||||
modelMainElement.innerHTML = repos.genHTML();
|
||||
repos.element = modelMainElement;
|
||||
repos.bindEvent();
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue