From c8c5ff7ca6e2ec4cffcb156a1029432beebc8ae9 Mon Sep 17 00:00:00 2001 From: InspiredJW Date: Wed, 28 Dec 2011 16:50:15 +0900 Subject: [PATCH] Immediate FadeIn without waiting for on-going FadeOut Animation. --- slimScroll.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slimScroll.js b/slimScroll.js index 64871c8..ec13e5a 100644 --- a/slimScroll.js +++ b/slimScroll.js @@ -251,8 +251,8 @@ releaseScroll = true; return; } - bar.fadeIn('fast'); - if (railVisible) { rail.fadeIn('fast'); } + bar.stop(true,true).fadeIn('fast'); + if (railVisible) { rail.stop(true,true).fadeIn('fast'); } } var hideBar = function()