Correct only one guild
This commit is contained in:
parent
bb68efc27d
commit
909cb80826
@ -174,7 +174,7 @@ function getGuild(){
|
||||
$('#guild_form').empty();
|
||||
|
||||
if(data.length === 1){
|
||||
Cookies.set('guild', data.id, { expires: 31 });
|
||||
Cookies.set('guild', data[0].id, { expires: 31 });
|
||||
return;
|
||||
}
|
||||
data.forEach(function(element){
|
||||
|
Loading…
Reference in New Issue
Block a user