summaryrefslogtreecommitdiff
path: root/static/js/pichat.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/pichat.js')
-rw-r--r--static/js/pichat.js9
1 files changed, 8 insertions, 1 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;