mirror of
https://github.com/encounter/uBlock.git
synced 2026-07-11 06:18:49 -07:00
Code review: remove dead code
This commit is contained in:
+1
-2
@@ -172,7 +172,7 @@ return asyncJobManager;
|
||||
// Update visual of extension icon.
|
||||
|
||||
µBlock.updateBadgeAsync = (function() {
|
||||
var µb = µBlock, tabIdToUpdate;
|
||||
var µb = µBlock;
|
||||
|
||||
// Cache callback definition, it was a bad idea to define this one inside
|
||||
// updateBadgeAsync
|
||||
@@ -189,7 +189,6 @@ return asyncJobManager;
|
||||
if ( vAPI.isBehindTheSceneTabId(tabId) ) {
|
||||
return;
|
||||
}
|
||||
tabIdToUpdate = tabId;
|
||||
µb.asyncJobs.add('updateBadge-' + tabId, tabId, updateBadge, 250);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user