mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-29 12:58:48 +01:00
🎨
This commit is contained in:
parent
292f3ce706
commit
0171572df5
1 changed files with 5 additions and 1 deletions
|
|
@ -2,8 +2,10 @@ import {Model} from "../layout/Model";
|
|||
import {Tab} from "../layout/Tab";
|
||||
import {Constants} from "../constants";
|
||||
import {setPanelFocus} from "../layout/util";
|
||||
/// #if !MOBILE
|
||||
/// #if !BROWSER
|
||||
import {setModelsHash} from "../window/setHeader";
|
||||
/// #endif
|
||||
/// #if !MOBILE
|
||||
// @ts-ignore
|
||||
import {webViewerLoad} from "./pdf/viewer";
|
||||
// @ts-ignore
|
||||
|
|
@ -498,7 +500,9 @@ export class Asset extends Model {
|
|||
this.element, this.pdfPage, this.pdfId);
|
||||
this.element.setAttribute("data-loading", "true");
|
||||
}
|
||||
/// #if !BROWSER
|
||||
setModelsHash();
|
||||
/// #endif
|
||||
}, Constants.TIMEOUT_BLOCKLOAD);
|
||||
/// #endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue