-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
disabled controls if only one page - #49
- Loading branch information
Steven Wanderski
committed
Mar 3, 2013
1 parent
a0aaf84
commit e32daa8
Showing
2 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
e32daa8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fix will not be effective if infiniteScroll is disabled.
It either should be inside the if statement above it:
if(!slider.settings.infiniteLoop && slider.settings.hideControlOnEnd){ ...here... }
,Or should be a completely separate one: