Skip to content

Commit

Permalink
Remove unnecessary check.
Browse files Browse the repository at this point in the history
Obsoleted by #2047
  • Loading branch information
ghostwords committed Sep 17, 2018
1 parent b4a55be commit 390895c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/js/heuristicblocking.js
Original file line number Diff line number Diff line change
Expand Up @@ -537,11 +537,7 @@ function hasCookieTracking(details, origin) {
}

function pingListener(details) {
if (badger) {
return badger.heuristicBlocking.pingAccounting(details);
} else {
return {};
}
return badger.heuristicBlocking.pingAccounting(details);
}

function startListeners() {
Expand Down

0 comments on commit 390895c

Please sign in to comment.