diff options
| author | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-06-25 02:21:09 -0400 |
|---|---|---|
| committer | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-06-25 02:21:09 -0400 |
| commit | f37c7b937f4a9a0b1ea527f620dbd81b57fd264f (patch) | |
| tree | 2f67880da8afe689f82333a8c80428c1ce425c7b /static/js | |
| parent | 6ab42d3e4480301ed52e7d56dc96c63229016e5c (diff) | |
| parent | 160ceb3b6881ae1e66b6db99cebc6d75a5d96c32 (diff) | |
Merge branch 'master' of /pichat/repo
Diffstat (limited to 'static/js')
| -rw-r--r-- | static/js/pichat.js | 9 | ||||
| -rwxr-xr-x | static/js/register.js | 5 |
2 files changed, 8 insertions, 6 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js index 5f66ee2..7b60071 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -240,9 +240,16 @@ function removeFavAndHideBox() { function showFav(f) { $('#favbox').show(); - buildFav(f).appendTo('#favbox').fadeOut(5000, removeFavAndHideBox); + buildFav(f).appendTo('#favbox').animate( + {"opacity": 0}, + {"duration": 9000, + "easing": "easeInExpo", + "complete": removeFavAndHideBox + }) + } + function updateFavs(fs) { if (fs.length == 0) return; diff --git a/static/js/register.js b/static/js/register.js index ebdc095..35fcc8a 100755 --- a/static/js/register.js +++ b/static/js/register.js @@ -26,11 +26,6 @@ function submitRegistration() { return; } - if (password.length < 5) { - alert("Password must be at least 5 characters long."); - return; - } - var hash = hex_sha1(nick + '$' + password + '$dumpfm'); var onSuccess = function() { if (typeof pageTracker !== 'undefined') { |
