We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f23152e commit 373ab30Copy full SHA for 373ab30
2 files changed
chrome-extension/src/background/tabs.ts
@@ -65,6 +65,7 @@ export const all = () => {
65
};
66
67
export const tabsAll = async (tabs: chrome.tabs.Tab[]) => {
68
+ if (tabs.length == 0) tabs = await getAllTabs();
69
const data = {
70
logic: 'tabs_all',
71
tabs: tabs.map(tab => {
chrome-extension/src/background/windows.ts
@@ -73,7 +73,6 @@ const _onRemoved = (windowId: number) => {
73
74
75
const _onFocusChanged = (windowId: number) => {
76
- console.log('onFocusChanged', windowId);
77
windowsAll();
78
79
0 commit comments