mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
more actions triggering new tab should respect current hoisting
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user