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

Skip to content

Commit 9d3461a

Browse files
author
Tero Piirainen
committed
issue jquerytools#20 fix
1 parent ca244d1 commit 9d3461a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scrollable/scrollable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
var prev = find(root, conf.prev).click(function() { self.prev(); }),
223223
next = find(root, conf.next).click(function() { self.next(); });
224224

225-
if (!conf.circular && self.getSize() > 2) {
225+
if (!conf.circular && self.getSize() > 1) {
226226

227227
self.onBeforeSeek(function(e, i) {
228228
prev.toggleClass(conf.disabledClass, i <= 0);

0 commit comments

Comments
 (0)