mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
🚨
This commit is contained in:
parent
a1f856676e
commit
8596905de7
4 changed files with 11 additions and 11 deletions
|
|
@ -304,7 +304,7 @@ export const bazaar = {
|
|||
</div>`;
|
||||
if (isDownloaded) {
|
||||
const mdElement = readmeElement.querySelector(".item__readme");
|
||||
mdElement.innerHTML = data.readme
|
||||
mdElement.innerHTML = data.readme;
|
||||
highlightRender(mdElement);
|
||||
} else {
|
||||
fetchPost("/api/bazaar/getBazaarPackageREAME", {
|
||||
|
|
@ -340,7 +340,7 @@ export const bazaar = {
|
|||
if (item.nodeType !== 3 && item.classList.contains("b3-button")) {
|
||||
item.classList.add("b3-button--outline");
|
||||
}
|
||||
})
|
||||
});
|
||||
target.classList.remove("b3-button--outline");
|
||||
this._genMyHTML(type.replace("my", "").toLowerCase() + "s" as TBazaarType);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue