This commit is contained in:
Vanessa 2023-05-08 09:10:08 +08:00
parent 292f3ce706
commit 0171572df5

View file

@ -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
}