return false;
});
- $(document).on('click', '.bookmarkssub a.print', function () {
+ $(document).on('click', '.bookmarkssub a.download', function () {
$(this).data('ios-preview', '1');
if (!navigator.onLine && $this.fluidbook.datas.phonegap) {
$this.fluidbook.alertInternetRequired();
return false;
}
- $this.openPDF($(this), true);
+ $this.openPDF($(this), false);
return false;
});
}
if (this.fluidbook.datas.print || this.fluidbook.datas.pdf) {
// ToDo: differentiate between download & print?
- index += '<a class="print" href="#">' + downloadLabel + '</a>';
+ index += '<a class="download" href="#">' + downloadLabel + '</a>';
}
index += '</div>';
index += '</div>';