This commit is contained in:
IndieKKY
2024-10-06 18:41:12 +08:00
parent 3e1e69f13e
commit 02aaba6a83
2 changed files with 5 additions and 5 deletions

View File

@@ -115,7 +115,7 @@ chrome.action.onClicked.addListener(async (tab) => {
})
} else {
closeSidePanel()
extensionMessaging.broadcastMessageExact([tab.id!], [TAG_TARGET_INJECT], MESSAGE_TO_INJECT_TOGGLE_DISPLAY).catch(console.error)
extensionMessaging.broadcastMessageExact([tab.id!], [TAG_TARGET_INJECT], 'TOGGLE_DISPLAY').catch(console.error)
}
})
})