From 113656a257e5227c18ff64517657a0f2495a327d Mon Sep 17 00:00:00 2001 From: mic Date: Sun, 21 Jul 2024 16:24:38 +0200 Subject: [PATCH] comment added --- api_webchat/controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api_webchat/controller.js b/api_webchat/controller.js index 0329e44e..281cc154 100644 --- a/api_webchat/controller.js +++ b/api_webchat/controller.js @@ -60,7 +60,7 @@ worker.onmessage = function(event) { } }; - +// handling commands from the backgoound page browser.runtime.onMessage.addListener((message, sender, sendResponse) => { console.log(">>>>>>>>>>>>> controller.js onMessage: " + JSON.stringify(message)); if (message.command === "chatgpt_send") {