| Index: ext/background.js |
| =================================================================== |
| --- a/ext/background.js |
| +++ b/ext/background.js |
| @@ -326,20 +326,18 @@ |
| // Firefox for Android displays the browser action not as an icon but |
| // as a menu item. There is no icon, but such an option may be added |
| // in the future. |
| // https://bugzilla.mozilla.org/show_bug.cgi?id=1331746 |
| if (change == "iconPath" && "setIcon" in browser.browserAction) |
| { |
| let path = { |
| 16: this._changes.iconPath.replace("$size", "16"), |
| - 19: this._changes.iconPath.replace("$size", "19"), |
| 20: this._changes.iconPath.replace("$size", "20"), |
| 32: this._changes.iconPath.replace("$size", "32"), |
| - 38: this._changes.iconPath.replace("$size", "38"), |
| 40: this._changes.iconPath.replace("$size", "40") |
| }; |
| try |
| { |
| return browser.browserAction.setIcon({tabId: this._tabId, path}); |
| } |
| catch (e) |
| { |