mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user