Commit 4b4fca48 by yuward

m

parent 65f819ed
Showing with 1 additions and 2 deletions
......@@ -70,9 +70,8 @@ function protect($string){
var email = $("#email").val();
var password = $("#password").val();
var continue = $("#continue").val();
if (email.length == 0 && password.length == 0 && username.length == 0)
if (email.length == 0 || password.length == 0 || username.length == 0)
alert('Please check input');
//continue;
else{
$.ajax(
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment