commit: | 2a252001cf9fbb3b5459d142b340a02b5c6eaaa9 |
author: | Chip Black |
committer: | Chip Black |
date: | Mon Jan 10 02:32:12 2011 -0800 |
parents: | 0a73588293307fc51c995bda6f98e082a61df89c |
diff --git a/www/js/blerg.js b/www/js/blerg.js line changes: +2/-2 index 2ee3467..c5fd504 --- a/www/js/blerg.js +++ b/www/js/blerg.js
@@ -104,7 +104,7 @@ LoginStatus.prototype.post = function(msg) { 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++;
@@ -357,7 +357,7 @@ function signup() { }, onSuccess: function(r) { $('signup').hide(); - location.hash = username; + location.href = '/#' + username; hashSwitch(); loginStatus.login(username, password);