Skip to content

Commit

Permalink
SignIn infinite alert fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LRPerzus committed Feb 10, 2023
1 parent a57591d commit fffeb69
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions signin.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ $(document).ready(function () {
localStorage.setItem("points",response[i].points)
localStorage.setItem("id",response[i]._id)
window.location.replace("/about.html");
break
}
else{
alert("Invalid information");
return
}
}

alert("Invalid information");

});
})

Expand Down

0 comments on commit fffeb69

Please sign in to comment.