mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-15 00:21:00 +08:00
🚨
This commit is contained in:
parent
b6406e4263
commit
533f7d42ef
@ -370,7 +370,7 @@ ${unicode2Emoji(emoji.unicode, true)}</button>`;
|
||||
if (!nodeElement) {
|
||||
return;
|
||||
}
|
||||
this.enableExtend = false
|
||||
this.enableExtend = false;
|
||||
let id = "";
|
||||
if (nodeElement) {
|
||||
id = nodeElement.getAttribute("data-node-id");
|
||||
|
@ -172,10 +172,10 @@ export const syncGuide = (element?: Element) => {
|
||||
manualDialog.destroy();
|
||||
});
|
||||
btnsElement[1].addEventListener("click", () => {
|
||||
const uploadElement = manualDialog.element.querySelector("input[name=upload]:checked") as HTMLInputElement
|
||||
const uploadElement = manualDialog.element.querySelector("input[name=upload]:checked") as HTMLInputElement;
|
||||
if (!uploadElement) {
|
||||
showMessage(window.siyuan.languages.plsChoose)
|
||||
return
|
||||
showMessage(window.siyuan.languages.plsChoose);
|
||||
return;
|
||||
}
|
||||
fetchPost("/api/sync/performSync", {upload: uploadElement.value === "true"});
|
||||
manualDialog.destroy();
|
||||
|
Loading…
Reference in New Issue
Block a user