mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-10 06:32:33 +01:00
This commit is contained in:
parent
9a760026b7
commit
9f75163c2e
2 changed files with 9 additions and 4 deletions
|
|
@ -339,7 +339,7 @@ export const bazaar = {
|
|||
highlightRender(mdElement);
|
||||
});
|
||||
}
|
||||
readmeElement.style.right = "0";
|
||||
readmeElement.classList.add("config-bazaar__readme--show")
|
||||
},
|
||||
bindEvent() {
|
||||
fetchPost("/api/bazaar/getBazaarTheme", {}, response => {
|
||||
|
|
@ -377,8 +377,7 @@ export const bazaar = {
|
|||
event.stopPropagation();
|
||||
break;
|
||||
} else if (type === "goBack") {
|
||||
const readmeElement = bazaar.element.querySelector("#configBazaarReadme") as HTMLElement;
|
||||
readmeElement.style.right = "-100%";
|
||||
bazaar.element.querySelector("#configBazaarReadme").classList.remove("config-bazaar__readme--show")
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue