Skip to content

Commit

Permalink
Fix setting headers values on add-on init
Browse files Browse the repository at this point in the history
  • Loading branch information
moisseev committed Mar 31, 2021
1 parent a0b92cb commit 362f6ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 362f6ea

Please sign in to comment.