return;
}
- if (target === '_self') {
+ if (target === '_self' || target === '_top' || target === '_parent') {
return true;
}
if ($(this).attr('download') && !Modernizr.msie) {
let $this = this;
if (this.fluidbook.settings.specialShortLinks !== undefined && this.fluidbook.settings.specialShortLinks.length > 0) {
this.fluidbook.service.call('shortlinks', {
- cid: this.fluidbook.settings.cid,
- links: this.fluidbook.settings.specialShortLinks
+ cid: this.fluidbook.settings.cid, links: this.fluidbook.settings.specialShortLinks
}, function (data) {
$this.shortLinks = data;
}, null, 'post');