Skip to content

Commit

Permalink
Fix: In Chrome, a scroll event count be triggered before `scrollToRow…
Browse files Browse the repository at this point in the history
…()` had finished animating which caused a premature redraw.

* This fixes #30
  • Loading branch information
AllanJard committed Jul 14, 2014
1 parent ec21966 commit 2860244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/dataTables.scroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ Scroller.prototype = /** @lends Scroller.prototype */{
// the final scroll event fired
setTimeout( function () {
that.s.ani = false;
}, 0 );
}, 25 );
} );
}
else
Expand Down

0 comments on commit 2860244

Please sign in to comment.