mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-05 04:10:16 +01:00
This commit is contained in:
parent
59ff5bd547
commit
056c136bc1
5 changed files with 9 additions and 5 deletions
|
|
@ -809,7 +809,7 @@ const fileTreeKeydown = (event: KeyboardEvent) => {
|
|||
if (matchHotKey(window.siyuan.config.keymap.general.selectOpen1.custom, event)) {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
const element = document.querySelector(".layout__wnd--active > .layout-tab-bar > .item--focus") ||
|
||||
const element = document.querySelector(".layout__wnd--active > .fn__flex > .layout-tab-bar > .item--focus") ||
|
||||
document.querySelector(".layout-tab-bar > .item--focus");
|
||||
if (element) {
|
||||
const tab = getInstanceById(element.getAttribute("data-id")) as Tab;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue