diff --git a/images/loading.gif b/images/loading.gif new file mode 100644 index 00000000..3e7e6d23 Binary files /dev/null and b/images/loading.gif differ diff --git a/js/mzta-chatgpt.js b/js/mzta-chatgpt.js index a87aaa5c..f70bc071 100644 --- a/js/mzta-chatgpt.js +++ b/js/mzta-chatgpt.js @@ -82,7 +82,7 @@ function addCustomDiv(prompt_action,tabId) { style.innerHTML += "body {padding-top: 100px;}"; style.innerHTML += "#mzta-ok_btn {background-color: #007bff;border: none;color: white;padding: 8px 15px;text-align: center;text-decoration: none;display: inline-block;font-size: 16px;margin: 4px 2px;transition-duration: 0.4s;cursor: pointer;border-radius: 5px;}"; style.innerHTML += "#mzta-ok_btn:hover {background-color: #0056b3;color: white;}"; - style.innerHTML += "#mzta-curr_msg{}"; + style.innerHTML += "#mzta-loading{height:50px;display:inline-block;}"; // Add