]> _ Git - fluidbook-html5.git/commitdiff
fix #2709 @0:15
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 9 May 2019 16:13:01 +0000 (18:13 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 9 May 2019 16:13:01 +0000 (18:13 +0200)
js/libs/fluidbook/fluidbook.touch.js

index fa968b918c1cc6efd3d4daf1b49044d5905cea3f..b5c993f0cad02409951ba2909c5d57f722262e68 100644 (file)
@@ -183,6 +183,9 @@ FluidbookTouch.prototype = {
     },
 
     testSlideOffset: function () {
+        if (this.fluidbook.mobilefirst.enabled) {
+            return false;
+        }
         if (!this.fluidbook.pad.enabled) {
             if (Math.abs(this.offsetX) < Math.abs(this.offsetY)) {
                 return false;
@@ -196,7 +199,6 @@ FluidbookTouch.prototype = {
                     this.fluidbook.goPreviousPage();
                     this.resetSlide();
                 }
-
                 return true;
             } else if (this.offsetX > this.triggerOffset) {
                 if (ltr) {