This commit is contained in:
Vanessa 2023-01-27 10:44:31 +08:00
parent 3ab32327f3
commit 90516de22e
9 changed files with 23 additions and 9 deletions

View file

@ -397,7 +397,7 @@ export const bazaar = {
} else if (bazaarType === "widgets") {
url = "/api/bazaar/installBazaarWidget";
}
target.parentElement.insertAdjacentHTML("afterend", "<img data-type=\"img-loading\" style=\"position: absolute;top: 0;left: 0;height: 100%;width: 100%;padding: 48px;box-sizing: border-box;\" src=\"/stage/loading-pure.svg\">");
target.parentElement.insertAdjacentHTML("afterend", '<img data-type="img-loading" style="position: absolute;top: 0;left: 0;height: 100%;width: 100%;padding: 48px;box-sizing: border-box;" src="/stage/loading-pure.svg">');
const name = target.parentElement.getAttribute("data-name");
fetchPost(url, {
repoURL: target.parentElement.getAttribute("data-url"),