mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-07 01:08:49 +01:00
📝
This commit is contained in:
parent
26b6629077
commit
119fc6b3fa
2 changed files with 4 additions and 4 deletions
|
|
@ -255,7 +255,7 @@ export class Breadcrumb {
|
|||
click() {
|
||||
confirmDialog(window.siyuan.languages.share2Liandi, window.siyuan.languages.share2LiandiConfirmTip, () => {
|
||||
fetchPost("/api/export/export2Liandi", {id: protyle.block.parentID});
|
||||
})
|
||||
});
|
||||
}
|
||||
}).element);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -704,7 +704,7 @@ const addConfigMoreMenu = async (config: ISearchOption, edit: Protyle, element:
|
|||
}]
|
||||
}).element);
|
||||
const localData = window.siyuan.storage[Constants.LOCAL_SEARCHEKEYS];
|
||||
const isPopover = hasClosestByClassName(element, "b3-dialog__container")
|
||||
const isPopover = hasClosestByClassName(element, "b3-dialog__container");
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
label: window.siyuan.languages.layout,
|
||||
type: "submenu",
|
||||
|
|
@ -773,9 +773,9 @@ const addConfigMoreMenu = async (config: ISearchOption, edit: Protyle, element:
|
|||
saveDialog.destroy();
|
||||
});
|
||||
btnsElement[1].addEventListener("click", () => {
|
||||
const value = saveDialog.element.querySelector("input").value
|
||||
const value = saveDialog.element.querySelector("input").value;
|
||||
if (!value) {
|
||||
showMessage(window.siyuan.languages.value);
|
||||
showMessage(window.siyuan.languages["_kernel"]["142"]);
|
||||
return;
|
||||
}
|
||||
config.k = (element.querySelector("#searchInput") as HTMLInputElement).value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue