From e23e0d8283e39a394d5ec7f2602063e15325a81c Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 7 Apr 2015 03:36:12 -0600 Subject: [PATCH] Oops; silliness in Chrome 22 code --- platform/chromium/vapi-background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js index 9b0399d9c..3b6c2eab2 100644 --- a/platform/chromium/vapi-background.js +++ b/platform/chromium/vapi-background.js @@ -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! */ };