diff options
| author | tim b <timb@camcompu.home> | 2010-06-24 23:13:08 -0700 |
|---|---|---|
| committer | tim b <timb@camcompu.home> | 2010-06-24 23:13:08 -0700 |
| commit | bb2e003f9f3362fca15272f527a6f87543ec1a21 (patch) | |
| tree | f52b0d778bdb7546224a947d43225c8e9e43aaf7 /static/js | |
| parent | 15f5a8ed8e981486697790fe9613b1c26dceda42 (diff) | |
add fav to permalinks, link to conextual domain for local testing, longer fadeout on fav, cleanup some html
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') { |
