diff --git a/app/src/protyle/preview/index.ts b/app/src/protyle/preview/index.ts index 9bffe7067..9eb4bcfc9 100644 --- a/app/src/protyle/preview/index.ts +++ b/app/src/protyle/preview/index.ts @@ -155,7 +155,13 @@ export class Preview { if (this.element.style.display === "none") { return; } - + let loadingElement = this.element.querySelector(".fn__loading"); + if (!loadingElement) { + this.element.insertAdjacentHTML("beforeend", `