diff options
| author | Scott Ostler <sostler@deathmachine.local> | 2010-02-22 22:29:02 -0500 |
|---|---|---|
| committer | Scott Ostler <sostler@deathmachine.local> | 2010-02-22 22:29:02 -0500 |
| commit | 8a981f390c286cb9c5935290e7846df903148278 (patch) | |
| tree | 35a8589c0a4a64747ee3651510d668bf3c3f8939 /static/js/home.js | |
| parent | d5ddcebc328d4bf8825c2e9f186caa46d94096ab (diff) | |
Avatar-uploading
Diffstat (limited to 'static/js/home.js')
| -rwxr-xr-x | static/js/home.js | 3 |
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) { |
