mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 00:50:13 +01:00
🚨
This commit is contained in:
parent
d76180796c
commit
26e77a3529
5 changed files with 9 additions and 10 deletions
|
|
@ -181,7 +181,7 @@ new App();
|
|||
|
||||
window.openFileByURL = (openURL) => {
|
||||
if (openURL && isSYProtocol(openURL)) {
|
||||
const isZoomIn = getSearch("focus", openURL) === "1"
|
||||
const isZoomIn = getSearch("focus", openURL) === "1";
|
||||
openFileById({
|
||||
id: getIdFromSYProtocol(openURL),
|
||||
action: isZoomIn ? [Constants.CB_GET_ALL, Constants.CB_GET_FOCUS] : [Constants.CB_GET_FOCUS, Constants.CB_GET_CONTEXT],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue