diff --git a/public/popup.html b/public/popup.html index 0ebd5e2b..59d58565 100644 --- a/public/popup.html +++ b/public/popup.html @@ -11,7 +11,7 @@
- diff --git a/src/popup.ts b/src/popup.ts index 568b2436..92b5fe01 100644 --- a/src/popup.ts +++ b/src/popup.ts @@ -140,6 +140,10 @@ async function runThePopup(messageListener?: MessageListener): Promise { }); }); + if (window !== window.top) { + PageElements.sbCloseButton.classList.remove("hidden"); + } + // Hide donate button if wanted (Safari, or user choice) if (!showDonationLink()) { PageElements.sbDonate.style.display = "none";