mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-14 18:11:23 +01:00
Minor error with factoring ifelse
This commit is contained in:
parent
ba54af770c
commit
a95cf3591b
@ -197,8 +197,7 @@ function run_fetch_routine() {
|
||||
if (data.status == 403) {
|
||||
$('#loginmodal').modal('open');
|
||||
Materialize.toast('Authentication error! You have been banned.', 10000);
|
||||
}
|
||||
else if (data.status == 401) {
|
||||
} else if (data.status == 401) {
|
||||
$('#loginmodal').modal('open');
|
||||
Materialize.toast('Session expired! You have been logged out.', 10000);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user