mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01:00
🚨
This commit is contained in:
parent
cdae86d50b
commit
5b30b60bf7
5 changed files with 9 additions and 9 deletions
|
|
@ -581,12 +581,12 @@ export const copyTab = (tab: Tab) => {
|
|||
};
|
||||
|
||||
export const pdfIsLoading = (element: HTMLElement) => {
|
||||
const isLoading = element.querySelector('.layout-tab-container > [data-loading="true"]') ? true : false
|
||||
const isLoading = element.querySelector('.layout-tab-container > [data-loading="true"]') ? true : false;
|
||||
if (isLoading) {
|
||||
showMessage(window.siyuan.languages.pdfIsLoading);
|
||||
}
|
||||
return isLoading;
|
||||
}
|
||||
};
|
||||
|
||||
export const getInstanceById = (id: string, layout = window.siyuan.layout.centerLayout) => {
|
||||
const _getInstanceById = (item: Layout | Wnd, id: string) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue