Skip to content

Commit

Permalink
core/main/client/browser.js: Fix array unique function (#1966)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoles authored Jul 10, 2020
1 parent 7fa269f commit f3313fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/main/client/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -3919,8 +3919,8 @@ beef.browser = {
var results;

function unique(array) {
return $.grep(array, function(el, index) {
return index === $.inArray(el, array);
return $j.grep(array, function(el, index) {
return index === $j.inArray(el, array);
});
}

Expand Down

0 comments on commit f3313fd

Please sign in to comment.