more actions triggering new tab should respect current hoisting

This commit is contained in:
zadam
2023-07-14 18:15:31 +02:00
parent 3adab07ddb
commit 4d00404f55
2 changed files with 8 additions and 12 deletions

View File

@@ -79,7 +79,7 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null, $contain
this.openTabWithNote = async (notePath, activate) => {
await ws.waitForMaxKnownEntityChangeId();
await appContext.tabManager.openContextWithNote(notePath, { activate });
await appContext.tabManager.openTabWithNoteWithHoisting(notePath, { activate });
if (activate) {
await appContext.triggerEvent('focusAndSelectTitle');