]> _ Git - fluidbook-html5.git/commitdiff
debug
authorsoufiane <soufiane@cubedesigners.com>
Tue, 13 Jan 2026 13:32:40 +0000 (14:32 +0100)
committersoufiane <soufiane@cubedesigners.com>
Tue, 13 Jan 2026 13:32:40 +0000 (14:32 +0100)
js/libs/fluidbook/fluidbook.menu.js

index b9c2a65263e54b5957b0bf0029b93ccead5ca4b9..5e4adbb0e33b146a2956e7f81cda3ee176882d84 100644 (file)
@@ -8,7 +8,10 @@ FluidbookMenu.prototype = {
     init: function () {
         this.closeEventSent = false;
         this.index = new FluidbookIndex(this.fluidbook);
-        this.pdfform = new FluidbookPDFForm(this.fluidbook);
+        this.pdfform = false;
+        try {
+            this.pdfform = new FluidbookPDFForm(this.fluidbook);
+        } catch(e) {}
 
         var $this = this;