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 0ecbde2 commit 8c95246Copy full SHA for 8c95246
jquery.custom-scrollbar.js
@@ -396,14 +396,14 @@
396
},
397
398
startTouchScrolling:function (event) {
399
- if (event.touches && event.touches.length > 0) {
+ if (event.touches && event.touches.length == 1) {
400
this.setScrollEvent(event.touches[0]);
401
this.touchScrolling = true;
402
}
403
404
405
touchScroll:function (event) {
406
- if (this.touchScrolling && event.touches && event.touches.length > 0) {
+ if (this.touchScrolling && event.touches && event.touches.length == 1) {
407
this.moveScroll(event.touches[0], -this.ratio);
408
event.preventDefault();
409
0 commit comments