This commit is contained in:
IndieKKY
2024-10-05 21:17:26 +08:00
parent 4f03e75b6d
commit c71e8e2eab
4 changed files with 11 additions and 4 deletions

View File

@@ -101,6 +101,9 @@ chrome.action.onClicked.addListener(async (tab) => {
tabId: tab.id!,
})
} else {
chrome.sidePanel.setOptions({
enabled: false,
})
chrome.sidePanel.setPanelBehavior({
openPanelOnActionClick: false,
})