Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a5c3f95

Browse files
committed
Merge pull request jquerytools#965 from evrard/patch-5
Fixes jquerytools#885
2 parents c24f835 + ac2613b commit a5c3f95

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tabs/tabs.slideshow.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454
* Similar fix for autoscroll animation queue problem
5555
*/
5656
function next(){
57+
// Fixes https://github.com/jquerytools/jquerytools/issues/885
58+
if (timer) clearTimeout(timer); // reset timeout, especially for angry clicks
5759
timer = setTimeout(function(){
5860
tabs.next();
5961
}, conf.interval);

0 commit comments

Comments
 (0)