1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

code review

This commit is contained in:
gorhill 2015-04-12 18:56:26 -04:00
parent 9752c49d17
commit 0a17ba0597

View File

@ -210,8 +210,9 @@ vAPI.tabs.get = function(tabId, callback) {
}
if ( typeof tabId !== 'number' || isNaN(tabId) ) {
onTabReady(null);
} else {
chrome.tabs.get(tabId, onTabReady);
}
chrome.tabs.get(tabId, onTabReady);
return;
}
var onTabReceived = function(tabs) {