]> _ Git - fluidbook-html5.git/commitdiff
wip #2476 @0:05
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 8 Jan 2019 11:08:01 +0000 (12:08 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 8 Jan 2019 11:08:01 +0000 (12:08 +0100)
js/libs/fluidbook/fluidbook.nav.js

index 85ddf2d90c06a6b5700817313b74a11abded33a4..e6c16a57800992f23e1befc30a3be000d53534ec 100644 (file)
@@ -698,7 +698,7 @@ FluidbookNav.prototype = {
             event.preventDefault();
 
             // Should we show complex PDF download options? Or just give them the full PDF?
-            if ($this.fluidbook.datas.pdfComplex && this.fluidbook.datas.phonegap === false) {
+            if ($this.fluidbook.datas.pdfComplex && $this.fluidbook.datas.phonegap === false) {
                 $this.fluidbook.menu.openView('download');
             } else {
                 $this.fluidbook.downloadPDF($(this));