Skip to content
This repository

Fixes #885 #965

Merged
merged 1 commit into from 12 months ago

2 participants

evrard alibby251
evrard

Prevent multiple timer launch (angry clicks bug).

Attemp dev pull request.

evrard Fixes #885
Prevent multiple timer launch (angry clicks bug).

Attemp dev pull request.
ac2613b
evrard evrard referenced this pull request March 03, 2013
Closed

Fixes #885 #963

alibby251 alibby251 merged commit a5c3f95 into from April 25, 2013
alibby251 alibby251 closed this April 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Mar 04, 2013
evrard Fixes #885
Prevent multiple timer launch (angry clicks bug).

Attemp dev pull request.
ac2613b
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  src/tabs/tabs.slideshow.js
2  src/tabs/tabs.slideshow.js
@@ -54,6 +54,8 @@
54 54
     *   Similar fix for autoscroll animation queue problem
55 55
     */
56 56
     function next(){
  57
+      // Fixes https://github.com/jquerytools/jquerytools/issues/885
  58
+      if (timer) clearTimeout(timer); // reset timeout, especially for angry clicks
57 59
       timer = setTimeout(function(){
58 60
         tabs.next();
59 61
       }, conf.interval);
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.