Firefox now updates page action icon correctly

This commit is contained in:
Said Achmiz 2019-02-02 17:58:07 -05:00
parent c75802cc08
commit 9655eab02c

View File

@ -13,7 +13,7 @@ chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {
"48": "images/ASK_off_48.png",
"96": "images/ASK_off_96.png",
};
chrome.pageAction.setIcon({
chrome.browserAction.setIcon({
path: icons,
tabId: request.tabID || sender.tab.id
});