From 362f6ead38b66e23ca8fa8cee0b150a80e297ec7 Mon Sep 17 00:00:00 2001 From: moisseev Date: Wed, 31 Mar 2021 18:46:09 +0300 Subject: [PATCH] Fix setting headers values on add-on init --- scripts/background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/background.js b/scripts/background.js index ee04391..9f5b10f 100644 --- a/scripts/background.js +++ b/scripts/background.js @@ -143,7 +143,7 @@ browser.mailTabs.onSelectedMessagesChanged.addListener((tab, selectedMessages) = browser.windows.getAll({populate: true, windowTypes: ["normal", "messageDisplay"]}).then((windows) => { windows.forEach(function (window) { - window.tabs.filter((tab) => !tab.mailTab && tab.active) + window.tabs.filter((tab) => tab.active) .forEach(function (tab) { browser.messageDisplay.getDisplayedMessage(tab.id).then((message) => { if (!message) return;