mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 08:00:13 +01:00
🔖 Release v3.1.10
This commit is contained in:
parent
cd8f7c64a4
commit
bc772fe4aa
4 changed files with 4 additions and 4 deletions
|
|
@ -70,7 +70,7 @@ export const avRender = (element: Element, protyle: IProtyle, cb?: () => void, v
|
|||
const snapshot = protyle.options.history?.snapshot;
|
||||
let newViewID = e.getAttribute(Constants.CUSTOM_SY_AV_VIEW) || "";
|
||||
if (typeof viewID === "string") {
|
||||
const viewTabElement = e.querySelector(`.av__views > .layout-tab-bar > .item[data-id="${viewID}"]`) as HTMLElement
|
||||
const viewTabElement = e.querySelector(`.av__views > .layout-tab-bar > .item[data-id="${viewID}"]`) as HTMLElement;
|
||||
if (viewTabElement) {
|
||||
e.dataset.pageSize = viewTabElement.dataset.page;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue