Correct typo and guild pop up when no mutual guild
This commit is contained in:
parent
cff1a49b40
commit
a1b8c4761c
@ -98,6 +98,9 @@ function getGuild(){
|
||||
$('#guild_form').empty();
|
||||
if(data.length === 0 && location.pathname !== "/")
|
||||
window.location.replace("/");
|
||||
if(data.length === 0){
|
||||
return;
|
||||
}
|
||||
|
||||
else if(data.length === 1){
|
||||
Cookies.set('guild', data[0].id, { expires: 31 });
|
||||
|
@ -73,7 +73,7 @@
|
||||
<div class="col m6 s12 center flow-text">
|
||||
<h2>Oh no !</h2>
|
||||
<h4>We don't have any mutual server !</h4>
|
||||
<h5>You can chance this by inviting me with this button !</h5>
|
||||
<h5>You can change this by inviting me with this button !</h5>
|
||||
<a th:href="${inviteLink}" class="btn blue pulse" style="margin-top: 10px" href="/login" target="_blank">Invite me !</a>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user