]> _ Git - fluidbook-html5.git/commitdiff
wait #7839 @1.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 6 Nov 2025 15:51:32 +0000 (16:51 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 6 Nov 2025 15:51:32 +0000 (16:51 +0100)
js/libs/fluidbook/fluidbook.js

index 1d259686138765b99a2094e522810559f0bd865e..d49f1ff301f9e16c9b4382aa7ae720a6038501ac 100644 (file)
@@ -767,6 +767,9 @@ Fluidbook.prototype = {
     },
 
     getPhysicalPageNumberOfSide: function (side, strict) { // Side should be 'left' or 'right'
+        if (this.elasticslide!==undefined  && this.elasticslide.isActive()) {
+            return this.currentPage;
+        }
         if (undefined === strict) {
             strict = false;
         }