]> _ Git - fluidbook-html5.git/commitdiff
try #7762 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 26 Sep 2025 17:40:27 +0000 (19:40 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 26 Sep 2025 17:40:27 +0000 (19:40 +0200)
js/libs/fluidbook/fluidbook.loader.js

index 41f69a60c1f5b016d9b3e5878e3e20a838bd7d95..ddab8f2ac9e648d8e2454708a6f16a1943303888 100644 (file)
@@ -462,19 +462,17 @@ FluidbookLoader.prototype = {
                     }
                     $(page).addClass(position);
                 }
-
                 if (!$(page).is(':visible')) {
                     $(page).show();
                 }
 
                 this.addCLinks(pageNr);
-                console.log($(page));
                 callback();
                 return;
             }
 
-
             this.fluidbook.initPage(pageNr, container, position);
+            var page = this._pageContainer(pageNr);
             $(container).append(page);
             $(page).addClass(position);
         }