summaryrefslogtreecommitdiff
path: root/static/js/home.js
diff options
context:
space:
mode:
authorScott Ostler <sostler@deathmachine.local>2010-02-22 22:29:02 -0500
committerScott Ostler <sostler@deathmachine.local>2010-02-22 22:29:02 -0500
commit8a981f390c286cb9c5935290e7846df903148278 (patch)
tree35a8589c0a4a64747ee3651510d668bf3c3f8939 /static/js/home.js
parentd5ddcebc328d4bf8825c2e9f186caa46d94096ab (diff)
Avatar-uploading
Diffstat (limited to 'static/js/home.js')
-rwxr-xr-xstatic/js/home.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/static/js/home.js b/static/js/home.js
index b37bc8d..59d4c3d 100755
--- a/static/js/home.js
+++ b/static/js/home.js
@@ -145,14 +145,13 @@ function initBigHand(id){
}
function login() {
- //$('#passwordInput, #loginSubmit').blur();
var nick = $('#nickInput').val();
var password = $('#passwordInput').val();
var rememberme = $('#remembermeInput').attr('checked') ? 'yes' : '';
var hash = hex_sha1(nick + '$' + password + '$dumpfm');
var onSuccess = function(json) {
- location.href = "/chat";
+ location.href = location.href;
};
var onError = function(resp, textStatus, errorThrown) {