mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 01:20:12 +01:00
This commit is contained in:
parent
67743b50ba
commit
2b06134a5a
4 changed files with 10 additions and 9 deletions
|
|
@ -299,12 +299,12 @@ export const JSONToLayout = (isStart: boolean) => {
|
|||
});
|
||||
}
|
||||
// https://github.com/siyuan-note/siyuan/pull/7086
|
||||
const openId = getSearch("id", window.location.href);
|
||||
const openId = getSearch("id");
|
||||
if (openId !== null) {
|
||||
openFileById({
|
||||
id: openId,
|
||||
action: [Constants.CB_GET_FOCUS, Constants.CB_GET_CONTEXT],
|
||||
zoomIn: getSearch("focus", window.location.href) === "1"
|
||||
zoomIn: getSearch("focus") === "1"
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue