From: Vincent Vanwaelscappel Date: Thu, 9 May 2019 16:13:01 +0000 (+0200) Subject: fix #2709 @0:15 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=de4c5655a39d40dd49dba745cd3b9719d10866fb;p=fluidbook-html5.git fix #2709 @0:15 --- diff --git a/js/libs/fluidbook/fluidbook.touch.js b/js/libs/fluidbook/fluidbook.touch.js index fa968b91..b5c993f0 100644 --- a/js/libs/fluidbook/fluidbook.touch.js +++ b/js/libs/fluidbook/fluidbook.touch.js @@ -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) {