Browse files

evrard proposition to fix scrollable issue described in #591 (see #59…

  • Loading branch information...
1 parent fc1115e commit 9f20c001998c86b5399748d8d089dcd480aab5ce @jacqueminv jacqueminv committed Jan 16, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/scrollable/scrollable.autoscroll.js
View
2 src/scrollable/scrollable.autoscroll.js
@@ -44,6 +44,8 @@
* Fixes this bug: http://flowplayer.org/tools/forum/25/72029
*/
function scroll(){
+ // Fixes https://github.com/jquerytools/jquerytools/issues/591
+ if (timer) clearTimeout(timer); // reset timeout, especially for onSeek event
timer = setTimeout(function(){
api.next();
}, opts.interval);

0 comments on commit 9f20c00

Please sign in to comment.