Skip to content

Commit e4b0a83

Browse files
committed
oops, forgot to clear timer var
1 parent a7974df commit e4b0a83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scrollable/scrollable.autoscroll.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
};
6262

6363
api.pause = function() {
64-
clearTimeout(timer); // clear any queued items immediately
64+
timer = clearTimeout(timer); // clear any queued items immediately
6565
root.unbind('onSeek', scroll);
6666
};
6767

0 commit comments

Comments
 (0)