mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
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
Block a user