indentation fixed
This commit is contained in:
parent
65b6af80ef
commit
d50cd67f7b
1 changed files with 2 additions and 2 deletions
|
|
@ -88,13 +88,13 @@ messenger.commands.onCommand.addListener((command, tab) => {
|
|||
});
|
||||
|
||||
|
||||
function handleShortcut(tab) {
|
||||
function handleShortcut(tab) {
|
||||
console.log("Shortcut triggered!");
|
||||
if(!["mail", "messageCompose","messageDisplay"].includes(tab.type)){
|
||||
return;
|
||||
}
|
||||
browser.tabs.sendMessage(tab.id, { command: "searchPrompt" });
|
||||
}
|
||||
}
|
||||
|
||||
messenger.runtime.onMessage.addListener(async (message, sender, sendResponse) => {
|
||||
// Check what type of message we have received and invoke the appropriate
|
||||
|
|
|
|||
Loading…
Reference in a new issue