From c4cbdc5da5e1534175ced0a626a136c5b2949384 Mon Sep 17 00:00:00 2001 From: kudo-sync-bot Date: Wed, 4 Dec 2024 04:48:55 -0800 Subject: [PATCH] =?UTF-8?q?Added=20loading=20spinner=20to=20popup=20menu?= =?UTF-8?q?=20=E2=86=9E=20[auto-sync=20from=20https://github.com/KudoAI/ch?= =?UTF-8?q?atgpt.js-chrome-starter]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- starters/chrome/extension/popup/controller.js | 3 +++ starters/chrome/extension/popup/index.html | 3 +++ starters/chrome/extension/popup/style.css | 11 ++++++++++- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/starters/chrome/extension/popup/controller.js b/starters/chrome/extension/popup/controller.js index 8d9776500..7bb1b2130 100644 --- a/starters/chrome/extension/popup/controller.js +++ b/starters/chrome/extension/popup/controller.js @@ -132,4 +132,7 @@ moreExtensionsSpan.onclick = () => { chrome.tabs.create({ url: app.urls.relatedExtensions }) ; close() } moreExtensionsSpan.append(moreExtensionsIcon) ; footer.append(moreExtensionsSpan) + // Hide loading spinner + document.querySelectorAll('[class^="loading"]').forEach(elem => elem.style.display = 'none') + })() diff --git a/starters/chrome/extension/popup/index.html b/starters/chrome/extension/popup/index.html index 7a95c0401..d6546ef01 100644 --- a/starters/chrome/extension/popup/index.html +++ b/starters/chrome/extension/popup/index.html @@ -5,6 +5,9 @@ +
+ +