mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user