diff --git a/popup/mzta-popup.css b/popup/mzta-popup.css index 3479aeea..9cec02c8 100644 --- a/popup/mzta-popup.css +++ b/popup/mzta-popup.css @@ -45,6 +45,10 @@ body { padding: 0; overflow-x: hidden; } + + #mzta_sending_prompt{ + display: none; + } .mzta_autocomplete-item { padding: 4px; diff --git a/popup/mzta-popup.html b/popup/mzta-popup.html index a7ad4126..2b8d265c 100644 --- a/popup/mzta-popup.html +++ b/popup/mzta-popup.html @@ -10,6 +10,7 @@
 
+
diff --git a/popup/mzta-popup.js b/popup/mzta-popup.js index 7e9c3360..d0ab923b 100644 --- a/popup/mzta-popup.js +++ b/popup/mzta-popup.js @@ -228,6 +228,8 @@ document.body.insertBefore(banner, document.body.firstChild); 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'; browser.runtime.sendMessage({command: "shortcut_do_prompt", tabId: tabId, promptId: prompt_id}); }