This commit is contained in:
Raymond Hill 2014-11-20 01:50:39 -02:00
parent 51b756d5b7
commit 426aaa2803
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ vAPI.tabs.injectScript = function(tabId, details, callback) {
} }
}; };
if ( tabId ) { if ( tabId ) {
chrome.tabs.executeScript(tabId, details, onScriptExecuteds); chrome.tabs.executeScript(tabId, details, onScriptExecuted);
} else { } else {
chrome.tabs.executeScript(details, onScriptExecuted); chrome.tabs.executeScript(details, onScriptExecuted);
} }