Skip to content

Commit

Permalink
Changed icon changing condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmytro-K committed Jun 24, 2018
1 parent 54fb1c1 commit c485bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fx-vstup-ext/src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function main()

// browser.browserAction.setIcon({path: {16: enabled ? "favicon.png" : "favicon-gray.png"}});
// getImageData(x => browser.browserAction.setIcon({imageData: x}));
browser.browserAction.setIcon({imageData: {16: enabled ? color_icon_data : gray_icon_data}});
browser.browserAction.setIcon({imageData: {16: enabled ? gray_icon_data : color_icon_data}});

browser.tabs.query({active: true, currentWindow: true, url: "*://*.vstup.info/*"})
.then(
Expand Down

0 comments on commit c485bce

Please sign in to comment.