mirror of https://github.com/gorhill/uBlock.git
code review
This commit is contained in:
parent
9752c49d17
commit
0a17ba0597
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue