Vanessa 2022-12-17 19:03:54 +08:00
parent b03f51a369
commit c30b85d01f
2 changed files with 3 additions and 3 deletions

View file

@ -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) => {

View file

@ -297,7 +297,7 @@ export const openHistory = () => {
width: "80vw",
height: "80vh",
destroyCallback() {
historyEditor.destroy();
historyEditor = undefined;
}
});