This commit is contained in:
parent
1994998530
commit
2e68c770a5
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ export const globalShortcut = () => {
|
|||
}
|
||||
|
||||
// close tab
|
||||
if (matchHotKey(window.siyuan.config.keymap.general.closeTab.custom, event)) {
|
||||
if (matchHotKey(window.siyuan.config.keymap.general.closeTab.custom, event) && !event.repeat) {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
let activeTabElement = document.querySelector(".block__icons--active");
|
||||
|
|
Loading…
Add table
Reference in a new issue