mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-28 11:16:09 +01:00
This commit is contained in:
parent
f78ece7d0d
commit
882ed6ed69
1 changed files with 1 additions and 1 deletions
|
|
@ -357,7 +357,7 @@ const bindEvent = (element: Element, dialog?: Dialog) => {
|
|||
disabledProtyle(historyEditor.protyle);
|
||||
const repoElement = element.querySelector('#historyContainer [data-type="repo"]');
|
||||
const repoSelectElement = repoElement.querySelector(".b3-select") as HTMLSelectElement;
|
||||
repoSelectElement.querySelector(".b3-select").addEventListener("change", () => {
|
||||
repoSelectElement.addEventListener("change", () => {
|
||||
renderRepo(repoElement, 1);
|
||||
const btnElement = element.querySelector(".b3-button[data-type='compare']");
|
||||
btnElement.setAttribute("disabled", "disabled");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue