diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js index 181ffea..b63fa19 100644 --- a/platform/chromium/vapi-background.js +++ b/platform/chromium/vapi-background.js @@ -229,7 +229,7 @@ vAPI.tabs.injectScript = function(tabId, details, callback) { } }; if ( tabId ) { - tabid = parseInt(tabId, 10); + tabId = parseInt(tabId, 10); chrome.tabs.executeScript(tabId, details, onScriptExecuted); } else { chrome.tabs.executeScript(details, onScriptExecuted);