diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index 58bab701..73e3a74b 100644
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -752,10 +752,6 @@
"message": "Use the current model",
"description": ""
},
- "SendingPrompt": {
- "message": "Sending prompt...",
- "description": ""
- },
"AllowedValues": {
"message": "Allowed values",
"description": ""
diff --git a/popup/mzta-popup.css b/popup/mzta-popup.css
index 2ff9569e..163ed194 100644
--- a/popup/mzta-popup.css
+++ b/popup/mzta-popup.css
@@ -47,10 +47,6 @@ body {
display: none;
}
- #mzta_sending_prompt{
- display: none;
- }
-
.mzta_autocomplete-item {
padding: 4px;
cursor: pointer;
diff --git a/popup/mzta-popup.html b/popup/mzta-popup.html
index 02caba36..ec72d3a4 100644
--- a/popup/mzta-popup.html
+++ b/popup/mzta-popup.html
@@ -19,7 +19,6 @@
-
diff --git a/popup/mzta-popup.js b/popup/mzta-popup.js
index c50bc028..71322f28 100644
--- a/popup/mzta-popup.js
+++ b/popup/mzta-popup.js
@@ -362,13 +362,8 @@ document.body.insertBefore(banner, document.body.firstChild);
async function sendPrompt(prompt_id, tabId){
taLog.log("sendPrompt: " + prompt_id);
- document.getElementById('mzta_search_input').style.display = 'none';
- document.getElementById('mzta_sending_prompt').style.display = 'block';
- let response = await browser.runtime.sendMessage({command: "shortcut_do_prompt", tabId: tabId, promptId: prompt_id});
-// console.log(">>>>>>>>>>>>>>>>> response: " + JSON.stringify(response));
- if(response.ok == '1'){
- window.close();
- }
+ browser.runtime.sendMessage({command: "shortcut_do_prompt", tabId: tabId, promptId: prompt_id});
+ window.close();
}
function filterPromptsForTab(prompts_data, filtering){