mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
6ecf512a73
commit
313074414a
2 changed files with 2 additions and 1 deletions
|
@ -172,7 +172,7 @@ ${unicode2Emoji(emoji.unicode, true)}</button>`;
|
|||
const textareaPosition = getSelectionPosition(protyle.wysiwyg.element);
|
||||
setPosition(this.element, textareaPosition.left, textareaPosition.top + 26, 30);
|
||||
} else {
|
||||
this.element.insertAdjacentHTML("beforeend", "<div class=\"fn__loading\"><img width=\"64px\" src=\"/stage/loading-pure.svg\"></div>");
|
||||
this.element.insertAdjacentHTML("beforeend", '<div class="fn__loading"><img width="64px" src="/stage/loading-pure.svg"></div>');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -138,6 +138,7 @@ const renderRepoItem = (response: IWebSocketData, element: Element, type: string
|
|||
};
|
||||
|
||||
const renderRepo = (element: Element, currentPage: number) => {
|
||||
element.lastElementChild.innerHTML = '<li style="position: relative;height: 100%;"><div class="fn__loading"><img width="64px" src="/stage/loading-pure.svg"></div></li>';
|
||||
const previousElement = element.querySelector('[data-type="previous"]');
|
||||
const nextElement = element.querySelector('[data-type="next"]');
|
||||
if (currentPage < 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue