Skip to content

Commit b865015

Browse files
committed
0 or 1 slide
If you have only 1 slide, arrows aren't neccesary
1 parent 84b6fce commit b865015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.fullPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209

210210

211211
// if there's any slide
212-
if (numSlides > 0) {
212+
if (numSlides > 1) {
213213
var sliderWidth = numSlides * 100;
214214
var slideWidth = 100 / numSlides;
215215

0 commit comments

Comments
 (0)