We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 914c1a3 commit 221441aCopy full SHA for 221441a
jquery.fullPage.js
@@ -2541,11 +2541,13 @@
2541
* Adds the possibility to auto scroll through sections on touch devices.
2542
*/
2543
function addTouchHandler(){
2544
- if(options.autoScrolling && (isTouchDevice || isTouch)){
+ if(isTouchDevice || isTouch){
2545
//Microsoft pointers
2546
var MSPointer = getMSPointer();
2547
2548
- $body.off('touchmove ' + MSPointer.move).on('touchmove ' + MSPointer.move, preventBouncing);
+ if(options.autoScrolling){
2549
+ $body.off('touchmove ' + MSPointer.move).on('touchmove ' + MSPointer.move, preventBouncing);
2550
+ }
2551
2552
$(WRAPPER_SEL)
2553
.off('touchstart ' + MSPointer.down).on('touchstart ' + MSPointer.down, touchStartHandler)
0 commit comments