update #6
+2
-2
@@ -16,14 +16,14 @@ jQuery(function($) {
|
||||
if (gender == "male")
|
||||
{
|
||||
return $.ajax({
|
||||
url: 'https://randomuser.me/api/?inc=picture&results=8&gender=male',
|
||||
url: 'https://randomuser.me/api/?inc=picture&results=10&gender=male',
|
||||
dataType: 'json',
|
||||
});
|
||||
}
|
||||
else if (gender == "female")
|
||||
{
|
||||
return $.ajax({
|
||||
url: 'https://randomuser.me/api/?inc=picture&results=2&gender=female',
|
||||
url: 'https://randomuser.me/api/?inc=picture&results=10&gender=female',
|
||||
dataType: 'json',
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user