diff --git a/js/mzta-menus.js b/js/mzta-menus.js index f1595ea3..4f393a5c 100644 --- a/js/mzta-menus.js +++ b/js/mzta-menus.js @@ -179,9 +179,9 @@ export class mzta_Menus { // const tabs = await browser.tabs.query({ active: true, currentWindow: true }); // add custom text if needed //browser.runtime.sendMessage({command: "chatgpt_open", prompt: fullPrompt, action: curr_prompt.action, tabId: tabs[0].id}); - if(curr_prompt.is_special == '1'){ + if(curr_prompt.is_special == '1'){ // Special prompts switch(curr_prompt.id){ - case 'prompt_add_tags': + case 'prompt_add_tags': // Add tags to the email const tabs_debug = await browser.tabs.query({ active: true, currentWindow: true }); console.log("[ThunderAI] Add tags for this message: " + tabs_debug[0].url); break; @@ -189,7 +189,7 @@ export class mzta_Menus { console.error("[ThunderAI] Unknown special prompt id: " + curr_prompt.id); break; } - }else{ + }else{ // Classic prompts for the API webchat this.openChatGPT(fullPrompt, curr_prompt.action, tabs[0].id, curr_prompt.name, curr_prompt.need_custom_text); } };