Skip to content

Commit 43e1db5

Browse files
committed
Issue 172. if circular:false the "prev page" action now does have "disable" class initially
1 parent 3e77fbb commit 43e1db5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
[jQuery Tools](http://flowplayer.org/tools/) - The Missing UI library for the Web
22
================================
33

4-
jQuery Tools is a collection of the most important user-interface components for modern websites. Used by large sites all over the world.
5-
6-
I
4+
jQuery Tools is a collection of the most important user-interface components for modern websites. Used by large sites all over the world.

src/scrollable/scrollable.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,10 @@
240240
}
241241
}, 1);
242242
});
243+
244+
if (!conf.initialIndex) {
245+
prev.addClass(conf.disabledClass);
246+
}
243247
}
244248

245249
// mousewheel support

0 commit comments

Comments
 (0)