mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Oops; silliness in Chrome 22 code
This commit is contained in:
parent
5d06019b19
commit
e23e0d8283
1 changed files with 1 additions and 1 deletions
|
|
@ -733,7 +733,7 @@ vAPI.onLoadAllCompleted = function() {
|
|||
catch(e) {
|
||||
chrome.browserAction._setIcon = chrome.browserAction.setIcon; // Nope; looks like older than v23
|
||||
chrome.browserAction.setIcon = function(x, clbk){ // Shim
|
||||
this._setIcon({path: x.path[19]}, clbk);
|
||||
this._setIcon({path: x.path[19], tabId: x.tabId}, clbk);
|
||||
};
|
||||
chrome.browserAction.setIcon({ path: iconPaths }); /* maybe this time... I'll win! */
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue