diff --git a/titanembeds/static/js/embed.js b/titanembeds/static/js/embed.js index 6b8426d..b3a2664 100644 --- a/titanembeds/static/js/embed.js +++ b/titanembeds/static/js/embed.js @@ -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 {