mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
This commit is contained in:
parent
b03f51a369
commit
c30b85d01f
2 changed files with 3 additions and 3 deletions
|
|
@ -149,8 +149,8 @@ export const showDiff = (ids: string) => {
|
|||
width: "80vw",
|
||||
height: "80vh",
|
||||
destroyCallback() {
|
||||
leftEditor.destroy();
|
||||
rightEditor.destroy();
|
||||
leftEditor = undefined
|
||||
rightEditor = undefined
|
||||
}
|
||||
});
|
||||
dialog.element.addEventListener("click", (event) => {
|
||||
|
|
|
|||
|
|
@ -297,7 +297,7 @@ export const openHistory = () => {
|
|||
width: "80vw",
|
||||
height: "80vh",
|
||||
destroyCallback() {
|
||||
historyEditor.destroy();
|
||||
historyEditor = undefined;
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue