Firefox now updates page action icon correctly
This commit is contained in:
parent
c75802cc08
commit
9655eab02c
@ -13,7 +13,7 @@ chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {
|
|||||||
"48": "images/ASK_off_48.png",
|
"48": "images/ASK_off_48.png",
|
||||||
"96": "images/ASK_off_96.png",
|
"96": "images/ASK_off_96.png",
|
||||||
};
|
};
|
||||||
chrome.pageAction.setIcon({
|
chrome.browserAction.setIcon({
|
||||||
path: icons,
|
path: icons,
|
||||||
tabId: request.tabID || sender.tab.id
|
tabId: request.tabID || sender.tab.id
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user