Skip to content

Commit 33d943d

Browse files
committed
Fix user demo location on home page
1 parent d1f280c commit 33d943d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

public/js/create_user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ function getNewUser(){
4848
setData('email', user.email);
4949

5050
var birthday = new Date(user.dob.date);
51-
setData('birthday', birthday.getMonth()+1+'/'+(birthday.getDay()+1)+'/19'+birthday.getYear());
52-
setData('location', user.location.street);
51+
setData('birthday', birthday.getMonth() + 1 + '/' + (birthday.getDay() + 1) + '/19' + birthday.getYear());
52+
setData('location', user.location.street.number + " " + user.location.street.name);
5353
setData('phone', user.cell);
5454
setData('pass', user.login.password);
5555
} else {

0 commit comments

Comments
 (0)