summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--background.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/background.js b/background.js
index 067bad7..126c295 100644
--- a/background.js
+++ b/background.js
@@ -98,7 +98,7 @@ browser.storage.local.get("transparentZenSettings").then((settings) => {
browser.tabs.onUpdated.addListener((tabId, changeInfo, tab) => {
// if (logging) console.log("onUpdated called with", tabId, changeInfo, tab);
// Apply CSS when a tab is updated
- if (changeInfo.status === "complete") {
+ if (changeInfo.status === "complete" || changeInfo.status === "loading") {
applyCSSToTab(tab);
}
});