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

index ebbcdccc6a7ede5c80926158935ebc2f96e8ea5c..85ddf2d90c06a6b5700817313b74a11abded33a4 100644 (file)
@@ -686,7 +686,7 @@ FluidbookNav.prototype = {
 
         // Share icon
         $(document).on('click', '.icon-share', function () {
-            if ($this.fluidbook.datas.phonegap != 'android') {
+            if ($this.fluidbook.datas.phonegap !== 'android') {
                 return true;
             }
             $this.fluidbook.share.intentShare();
@@ -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.datas.phonegap === false) {
+            if ($this.fluidbook.datas.pdfComplex && this.fluidbook.datas.phonegap === false) {
                 $this.fluidbook.menu.openView('download');
             } else {
                 $this.fluidbook.downloadPDF($(this));