manifest = collection.manifestPub[DATAS.id];
}
- $(document).on('click', "a[data-type='16']", function () {
- window.open($(this).attr("href"), "_system");
- return false;
- });
-
if (navigator.onLine && !OFFLINEAPP) {
fb('init online');
return true;
}
var target = $(this).attr('target');
+ if ($(this).data('type') == 16) {
+ target = '_system';
+ }
if (target == '_blank' || target == '_system') {
- fluidbook.wopen($(this).attr('href'), $(this).attr('target'));
+ fluidbook.wopen($(this).attr('href'), target);
return false;
}
return true;