diff --git a/api_webchat/controller.js b/api_webchat/controller.js index 0d41a83b..96c24224 100644 --- a/api_webchat/controller.js +++ b/api_webchat/controller.js @@ -63,7 +63,7 @@ worker.onmessage = function(event) { } }; -// handling commands from the backgoound page +// handling commands from the backgound page browser.runtime.onMessage.addListener((message, sender, sendResponse) => { //console.log(">>>>>>>>>>>>> controller.js onMessage: " + JSON.stringify(message)); if (message.command === "chatgpt_send") {