if (j && j.status == 'success') {
$('post.content').value = '';
if (location.hash != '#' + this.username) {
- location.hash = this.username;
+ location.href = '/#' + this.username;
hashSwitch();
} else {
currentPager.itemCount++;
},
onSuccess: function(r) {
$('signup').hide();
- location.hash = username;
+ location.href = '/#' + username;
hashSwitch();
loginStatus.login(username, password);