mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-10 14:42:33 +01:00
🚨
This commit is contained in:
parent
75a8ee13bd
commit
5f44965ef3
12 changed files with 28 additions and 28 deletions
|
|
@ -161,7 +161,7 @@ export const showDiff = (app: App, data: { id: string, time: string }[]) => {
|
|||
rightEditor = undefined;
|
||||
}
|
||||
});
|
||||
dialog.element.setAttribute("data-key", Constants.DIALOG_HISTORYCOMPARE)
|
||||
dialog.element.setAttribute("data-key", Constants.DIALOG_HISTORYCOMPARE);
|
||||
dialog.element.addEventListener("click", (event) => {
|
||||
if (typeof event.detail === "string") {
|
||||
renderCompare(app, dialog.element.querySelector(".history__diff .b3-list-item--focus"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue