Преглед на файлове

:bug: fix https://github.com/siyuan-note/siyuan/issues/5714

Vanessa преди 2 години
родител
ревизия
69460273e1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/src/util/globalShortcut.ts

+ 1 - 1
app/src/util/globalShortcut.ts

@@ -589,7 +589,7 @@ export const globalShortcut = () => {
             getAllTabs().find(item => {
                 if (item.headElement?.classList.contains("item--focus")) {
                     item.parent.removeTab(item.id);
-                    return;
+                    return true;
                 }
             });
             return;