From 7919a2c972d3b2fa1860dfcbe0e81835cc2598c9 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 8 Jan 2019 12:03:40 +0100 Subject: [PATCH] wip #2476 @0:05 --- js/libs/fluidbook/fluidbook.nav.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/libs/fluidbook/fluidbook.nav.js b/js/libs/fluidbook/fluidbook.nav.js index ebbcdccc..85ddf2d9 100644 --- a/js/libs/fluidbook/fluidbook.nav.js +++ b/js/libs/fluidbook/fluidbook.nav.js @@ -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)); -- 2.39.5