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