Skip to content

Commit 42ef0a2

Browse files
committed
- Extension option resetSliders
- Extension boolean interlockedSlides
1 parent 2ef56e9 commit 42ef0a2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

jquery.fullPage.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,15 @@
136136
continuousVertical: false,
137137
continuousHorizontal: true,
138138
scrollHorizontally: true,
139+
interlockedSlides: false,
140+
resetSliders: false,
139141
normalScrollElements: null,
140142
scrollOverflow: false,
141143
scrollOverflowHandler: iscrollHandler,
142144
scrollOverflowOptions: null,
143145
touchSensitivity: 5,
144146
normalScrollElementTouchThreshold: 5,
145147
bigSectionsDestination: null,
146-
interlocked: null,
147148

148149
//Accessibility
149150
keyboardScrolling: true,
@@ -1570,7 +1571,7 @@
15701571
$.isFunction(options.afterLoad) && !v.localIsResizing && options.afterLoad.call(v.element, v.anchorLink, (v.sectionIndex + 1));
15711572
options.scrollOverflowHandler.afterLoad();
15721573

1573-
if(FP.resetSliders){
1574+
if(options.resetSliders && FP.resetSliders){
15741575
FP.resetSliders.apply(v);
15751576
}
15761577

@@ -1951,7 +1952,7 @@
19511952

19521953
performHorizontalMove(slides, v, true);
19531954

1954-
if(FP.interlockedSlides){
1955+
if(options.interlockedSlides && FP.interlockedSlides){
19551956
FP.interlockedSlides.apply(v);
19561957
}
19571958
}

0 commit comments

Comments
 (0)