]> _ Git - fluidbook-html5.git/commitdiff
done #2519 @0:05
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 18 Jan 2019 10:55:30 +0000 (11:55 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 18 Jan 2019 10:55:30 +0000 (11:55 +0100)
js/libs/fluidbook/fluidbook.js

index 1905bab25a7103fae9aae233a2dcb6d49db89b0f..e8ea3c300a83493486e8ddfa9d8acf0f91d9f5f8 100644 (file)
@@ -603,7 +603,7 @@ Fluidbook.prototype = {
     },
     getPageNumberOfSide: function (side) {
         var physical = this.getPhysicalPageNumberOfSide(side);
-        if (!physical) {
+        if (!physical || physical === 1) {
             return '';
         }
         return this.physicalToVirtual(physical);