Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
559484b9c5
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ window.goBack = goBack;
|
|||
window.showKeyboardToolbar = showKeyboardToolbar;
|
||||
window.hideKeyboardToolbar = hideKeyboardToolbar;
|
||||
window.openFileByURL = (openURL) => {
|
||||
if (openURL && !/^siyuan:\/\/blocks\/\d{14}-\w{7}/.test(openURL)) {
|
||||
if (openURL && /^siyuan:\/\/blocks\/\d{14}-\w{7}/.test(openURL)) {
|
||||
openMobileFileById(openURL.substr(16, 22),
|
||||
getSearch("focus", openURL) === "1" ? [Constants.CB_GET_ALL, Constants.CB_GET_FOCUS] : [Constants.CB_GET_FOCUS, Constants.CB_GET_CONTEXT]);
|
||||
return true
|
||||
|
|
Loading…
Add table
Reference in a new issue