diff --git a/js/connection.js b/js/connection.js index a0565a4..ec66f7b 100644 --- a/js/connection.js +++ b/js/connection.js @@ -16,7 +16,7 @@ function connection(){ //console.log(data); switch(data.status){ - case 1: + case "1": window.location.href = "index.php"; break; default: