// 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();
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));